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 \
--detach \
nginx:alpine
# Make sure we have the latest base image
$(DOCKER) pull $(BASE_IMAGE)
# Build the new image
# Build the new image (use --pull to make sure we have the latest base image)
$(DOCKER) build \
--pull \
--tag $1 \
--file $2 \
--network build \

View File

@@ -2,7 +2,7 @@
## Prerequisites
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/)
## Building a production image