Require Docker V17.06.1 or greater to build
This commit is contained in:
5
Makefile
5
Makefile
@@ -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 \
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user