diff options
author | Tomas Krizek <tomas.krizek@nic.cz> | 2019-07-18 14:45:18 +0200 |
---|---|---|
committer | Tomas Krizek <tomas.krizek@nic.cz> | 2019-07-18 15:13:25 +0200 |
commit | fc917dacdec5fddf3203e9ca8c90ed4b6df6ce07 (patch) | |
tree | 804eccd0e2f744ad1f76bd44353e97a1985fa512 /ci | |
parent | ci: fix distrotests for testing repo (diff) | |
download | knot-resolver-fc917dacdec5fddf3203e9ca8c90ed4b6df6ce07.tar.xz knot-resolver-fc917dacdec5fddf3203e9ca8c90ed4b6df6ce07.zip |
ci/README: add --no-cache to docker builds to force pkg update
Diffstat (limited to 'ci')
-rw-r--r-- | ci/README.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ci/README.md b/ci/README.md index 6807c3d6..92223fe2 100644 --- a/ci/README.md +++ b/ci/README.md @@ -5,7 +5,7 @@ Docker Build ``` $ export KNOT_BRANCH=2.8 -$ docker build -t registry.labs.nic.cz/knot/knot-resolver/ci/debian-buster:knot-$KNOT_BRANCH --build-arg KNOT_BRANCH=$KNOT_BRANCH debian-buster +$ docker build --no-cache -t registry.labs.nic.cz/knot/knot-resolver/ci/debian-buster:knot-$KNOT_BRANCH --build-arg KNOT_BRANCH=$KNOT_BRANCH debian-buster $ docker login registry.labs.nic.cz $ docker push registry.labs.nic.cz/knot/knot-resolver/ci/debian-buster:knot-$KNOT_BRANCH @@ -14,20 +14,20 @@ $ docker push registry.labs.nic.cz/knot/knot-resolver/ci/debian-buster:knot-$KNO * fedora ``` -$ docker build -t registry.labs.nic.cz/knot/knot-resolver/ci/fedora fedora +$ docker build --no-cache -t registry.labs.nic.cz/knot/knot-resolver/ci/fedora fedora $ docker push registry.labs.nic.cz/knot/knot-resolver/ci/fedora ``` * turris ``` -$ docker build -t registry.labs.nic.cz/knot/knot-resolver/ci/turris:omnia turris +$ docker build --no-cache -t registry.labs.nic.cz/knot/knot-resolver/ci/turris:omnia turris $ docker push registry.labs.nic.cz/knot/knot-resolver/ci/turris:omnia ``` Alternatively, provide `SDK_REPO` build arg (dir name from https://repo.turris.cz/ ) ``` -$ docker build --build-arg SDK_REPO=omnia-nightly -t registry.labs.nic.cz/knot/knot-resolver/ci/turris:omnia-nightly turris +$ docker build --no-cache --build-arg SDK_REPO=omnia-nightly -t registry.labs.nic.cz/knot/knot-resolver/ci/turris:omnia-nightly turris $ docker push registry.labs.nic.cz/knot/knot-resolver/ci/turris:omnia-nightly ``` |