mirror of
https://github.com/thib8956/nginx-proxy
synced 2025-02-24 09:48:14 +00:00
chore: Pass --pull
to docker build
to get fresh images
This is a no-op if the images are already up to date, and it prevents puzzling problems when the images are old.
This commit is contained in:
parent
d6d53893e8
commit
912a065406
6
Makefile
6
Makefile
@ -3,13 +3,13 @@
|
|||||||
|
|
||||||
|
|
||||||
build-webserver:
|
build-webserver:
|
||||||
docker build -t web test/requirements/web
|
docker build --pull -t web test/requirements/web
|
||||||
|
|
||||||
build-nginx-proxy-test-debian:
|
build-nginx-proxy-test-debian:
|
||||||
docker build --build-arg NGINX_PROXY_VERSION="test" -t nginxproxy/nginx-proxy:test .
|
docker build --pull --build-arg NGINX_PROXY_VERSION="test" -t nginxproxy/nginx-proxy:test .
|
||||||
|
|
||||||
build-nginx-proxy-test-alpine:
|
build-nginx-proxy-test-alpine:
|
||||||
docker build --build-arg NGINX_PROXY_VERSION="test" -f Dockerfile.alpine -t nginxproxy/nginx-proxy:test .
|
docker build --pull --build-arg NGINX_PROXY_VERSION="test" -f Dockerfile.alpine -t nginxproxy/nginx-proxy:test .
|
||||||
|
|
||||||
test-debian: build-webserver build-nginx-proxy-test-debian
|
test-debian: build-webserver build-nginx-proxy-test-debian
|
||||||
test/pytest.sh
|
test/pytest.sh
|
||||||
|
@ -14,7 +14,7 @@ DIR=$(cd "${TESTDIR}/.." && pwd) || exit 1
|
|||||||
|
|
||||||
# check requirements
|
# check requirements
|
||||||
echo "> Building nginx-proxy-tester image..."
|
echo "> Building nginx-proxy-tester image..."
|
||||||
docker build -t nginx-proxy-tester \
|
docker build --pull -t nginx-proxy-tester \
|
||||||
-f "${TESTDIR}/requirements/Dockerfile-nginx-proxy-tester" \
|
-f "${TESTDIR}/requirements/Dockerfile-nginx-proxy-tester" \
|
||||||
"${TESTDIR}/requirements" \
|
"${TESTDIR}/requirements" \
|
||||||
|| exit 1
|
|| exit 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user