Add: VERSION argument

This commit is contained in:
Andrew Hurley 2022-08-09 23:19:59 +10:00
parent 29989b645b
commit 7671a5e731
1 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,6 @@
FROM docker.io/library/nextcloud:24.0
ARG VERSION="latest"
FROM docker.io/library/nextcloud:$VERSION
COPY ncloud-passwd /etc/password
COPY ncloud-group /etc/group
RUN ln -s . /var/www/html/nc