Always pull latest base image
This commit is contained in:
2
Makefile
2
Makefile
@@ -121,6 +121,8 @@ define docker-build-mq
|
|||||||
nginx:alpine
|
nginx:alpine
|
||||||
# Build the new image
|
# Build the new image
|
||||||
$(DOCKER) build \
|
$(DOCKER) build \
|
||||||
|
# Always ensure that we have the latest base image
|
||||||
|
--pull \
|
||||||
--tag $1 \
|
--tag $1 \
|
||||||
--file $2 \
|
--file $2 \
|
||||||
--network build \
|
--network build \
|
||||||
|
|||||||
Reference in New Issue
Block a user