postgresql version can specify

This commit is contained in:
Shao Yu Lung
2020-02-06 23:58:07 +08:00
parent 00676f0c8e
commit 63b3d2ff14
3 changed files with 7 additions and 4 deletions

View File

@ -1,6 +1,5 @@
FROM postgres:alpine
LABEL maintainer="Ben M <git@bmagg.com>"
ARG POSTGRES_VERSION=alpine
FROM postgres:${POSTGRES_VERSION}
CMD ["postgres"]