only one env line = less layers
This commit is contained in:
parent
ddb252d701
commit
8f2239014e
33
Dockerfile
33
Dockerfile
@ -4,22 +4,23 @@ RUN \
|
|||||||
apk upgrade --update --no-cache && \
|
apk upgrade --update --no-cache && \
|
||||||
apk add --update --no-cache nextcloud-client bash
|
apk add --update --no-cache nextcloud-client bash
|
||||||
|
|
||||||
ENV USER_NAME=nextcloudclient
|
ENV \
|
||||||
ENV USER_UID=1000
|
USER_NAME=nextcloudclient \
|
||||||
ENV USER_GID=1000
|
USER_UID=1000 \
|
||||||
ENV NEXTCLOUD_USERNAME=username
|
USER_GID=1000 \
|
||||||
ENV NEXTCLOUD_PASSWORD=password
|
NEXTCLOUD_USERNAME=username \
|
||||||
ENV NEXTCLOUD_URL=https://nextcloud.example.com
|
NEXTCLOUD_PASSWORD=password \
|
||||||
ENV NEXTCLOUD_DIR=/data
|
NEXTCLOUD_URL=https://nextcloud.example.com \
|
||||||
ENV NEXTCLOUD_DIR_CHOWN=1
|
NEXTCLOUD_DIR=/data \
|
||||||
ENV NEXTCLOUD_FORCE_TRUST=
|
NEXTCLOUD_DIR_CHOWN=1 \
|
||||||
ENV NEXTCLOUD_HTTPPROXY=
|
NEXTCLOUD_FORCE_TRUST= \
|
||||||
ENV NEXTCLOUD_UPLIMIT=
|
NEXTCLOUD_HTTPPROXY= \
|
||||||
ENV NEXTCLOUD_DOWNLIMIT=
|
NEXTCLOUD_UPLIMIT= \
|
||||||
ENV NEXTCLOUD_EXCLUDEFILE=
|
NEXTCLOUD_DOWNLIMIT= \
|
||||||
ENV NEXTCLOUD_UNSYNCFILE=
|
NEXTCLOUD_EXCLUDEFILE= \
|
||||||
ENV NEXTCLOUD_SILENT=
|
NEXTCLOUD_UNSYNCFILE= \
|
||||||
ENV NEXTCLOUD_SLEEP=30
|
NEXTCLOUD_SILENT= \
|
||||||
|
NEXTCLOUD_SLEEP=30
|
||||||
|
|
||||||
COPY start.sh /start.sh
|
COPY start.sh /start.sh
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user