From 52931582f8786567107c775e9d9facf176f34ef8 Mon Sep 17 00:00:00 2001 From: Adam Stachowicz Date: Sun, 22 Jan 2023 12:29:18 +0100 Subject: [PATCH] Use `--pull` in docker commands --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 01fc4454..caedaf02 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ Clone the repository and `cd` into the directory `revanced-builder` ### Build using `docker-compose` ```bash -docker-compose build --no-cache +docker-compose build --pull --no-cache ``` This builds the Docker image (`--no-cache` is used to build the image from scratch; sometimes the cache might cause version conflicts). @@ -53,7 +53,7 @@ To update to a newer version, stop the existing container if it is running, buil ### Build using only `docker` ```bash -docker build . -t --no-cache +docker build . --pull -t --no-cache ``` Run the newly built container: