Require Docker V17.06.1 or greater to build

This commit is contained in:
Arthur Barr
2018-02-14 11:07:59 +00:00
parent cf687196b7
commit 1d223f3157
2 changed files with 3 additions and 4 deletions

View File

@@ -190,10 +190,9 @@ define docker-build-mq
--volume "$(realpath ./downloads/)":/usr/share/nginx/html:ro \ --volume "$(realpath ./downloads/)":/usr/share/nginx/html:ro \
--detach \ --detach \
nginx:alpine nginx:alpine
# Make sure we have the latest base image # Build the new image (use --pull to make sure we have the latest base image)
$(DOCKER) pull $(BASE_IMAGE)
# Build the new image
$(DOCKER) build \ $(DOCKER) build \
--pull \
--tag $1 \ --tag $1 \
--file $2 \ --file $2 \
--network build \ --network build \

View File

@@ -2,7 +2,7 @@
## Prerequisites ## Prerequisites
You need to ensure you have the following tools installed: You need to ensure you have the following tools installed:
* [Docker](https://www.docker.com/) V17.05 or later * [Docker](https://www.docker.com/) V17.06.1 or later
* [GNU make](https://www.gnu.org/software/make/) * [GNU make](https://www.gnu.org/software/make/)
## Building a production image ## Building a production image