From 2d34868e08b38adef950e079e9deb2fe7c60d24b Mon Sep 17 00:00:00 2001 From: Nikhil Badyal Date: Tue, 18 Oct 2022 00:55:09 +0530 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20Added=20Instruction=20for=20Dock?= =?UTF-8?q?er=20build?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 49 ++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 46 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 7e47784..1ccd632 100644 --- a/README.md +++ b/README.md @@ -53,16 +53,59 @@ You can use any of the following methods to build.
-🐳With Docker +🐳With Docker Compose -1. Install Docker -2. Run script with +1. Install Docker(Skip if already installed) + ```bash + curl -fsSL https://get.docker.com -o get-docker.sh + sh get-docker.sh + ``` +2. Grant Permissions with(Skip if already there) + ```bash + sudo usermod -a -G docker ec2-user + sudo usermod -a -G docker $USER + sudo chmod 777 /var/run/docker.sock + ```` +3. Install Docker compose(Skip if already installed or using **_`Docker Desktop`_**) + ```bash + curl -L "https://github.com/docker/compose/releases/download/v2.10.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose + sudo chmod +x /usr/local/bin/docker-compose + ``` +4. Clone the repo + ```bash + git clone https://github.com/nikhilbadyal/docker-py-revanced + ``` +5. cd to the cloned repo + ```bash + cd docker-py-revanced + ``` +6. Run script with ```shell docker-compose up ```
+
+🐳With Docker + +1. Install Docker(Skip if already installed) + ```bash + curl -fsSL https://get.docker.com -o get-docker.sh + sh get-docker.sh + ``` +2. Run script with + ```shell + docker run \ + -v "$(pwd)"/apks:/app/apks/ \ + -e PATCH_APPS=youtube \ + nikhilbadyal/revanced_builder + ``` + You can pass below envs with `-e` flag. + +
+ +
🫠Without Docker