From 835ad406de7aeb053b0ba1e2fa5c6aa6afafda0d Mon Sep 17 00:00:00 2001 From: Avi Kivity Date: Tue, 22 Jan 2019 20:50:42 +0200 Subject: [PATCH] tools: toolchain: update docker build command to include --no-cache If docker sees the Dockerfile hasn't changed it may reuse an old image, not caring that context files and dependent images have in fact changed. This can happen for us if install-dependencies.sh or the base Fedora image changed. To make sure we always get a correct image, add --no-cache to the build command. Message-Id: <20190122185042.23131-1-avi@scylladb.com> --- tools/toolchain/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/toolchain/README.md b/tools/toolchain/README.md index 0990900d62..db8182f0b1 100644 --- a/tools/toolchain/README.md +++ b/tools/toolchain/README.md @@ -28,7 +28,7 @@ set environment variables: Run the command - docker build -f tools/toolchain/Dockerfile . + docker build --no-cache -f tools/toolchain/Dockerfile . and use the resulting image.