Avoid duplicating Dockerfiles for each architecture

- Use build args instead of duplicating the Dockerfile
- Upgrade to Alpine Linux 3.11
This commit is contained in:
Frédéric Guillot
2019-12-28 13:15:16 -08:00
parent d983c113da
commit cce083a8ed
5 changed files with 7 additions and 77 deletions

View File

@@ -1,4 +1,6 @@
FROM alpine:3.10.3
ARG BASE_IMAGE_ARCH="amd64"
FROM ${BASE_IMAGE_ARCH}/alpine:3.11
VOLUME /var/www/app/data
VOLUME /var/www/app/plugins