only one env line = less layers

This commit is contained in:
Paolo Asperti 2023-11-09 17:30:40 +01:00
parent ddb252d701
commit 8f2239014e
Signed by: paspo
GPG Key ID: 06D46905D19D5182

View File

@ -4,22 +4,23 @@ RUN \
apk upgrade --update --no-cache && \
apk add --update --no-cache nextcloud-client bash
ENV USER_NAME=nextcloudclient
ENV USER_UID=1000
ENV USER_GID=1000
ENV NEXTCLOUD_USERNAME=username
ENV NEXTCLOUD_PASSWORD=password
ENV NEXTCLOUD_URL=https://nextcloud.example.com
ENV NEXTCLOUD_DIR=/data
ENV NEXTCLOUD_DIR_CHOWN=1
ENV NEXTCLOUD_FORCE_TRUST=
ENV NEXTCLOUD_HTTPPROXY=
ENV NEXTCLOUD_UPLIMIT=
ENV NEXTCLOUD_DOWNLIMIT=
ENV NEXTCLOUD_EXCLUDEFILE=
ENV NEXTCLOUD_UNSYNCFILE=
ENV NEXTCLOUD_SILENT=
ENV NEXTCLOUD_SLEEP=30
ENV \
USER_NAME=nextcloudclient \
USER_UID=1000 \
USER_GID=1000 \
NEXTCLOUD_USERNAME=username \
NEXTCLOUD_PASSWORD=password \
NEXTCLOUD_URL=https://nextcloud.example.com \
NEXTCLOUD_DIR=/data \
NEXTCLOUD_DIR_CHOWN=1 \
NEXTCLOUD_FORCE_TRUST= \
NEXTCLOUD_HTTPPROXY= \
NEXTCLOUD_UPLIMIT= \
NEXTCLOUD_DOWNLIMIT= \
NEXTCLOUD_EXCLUDEFILE= \
NEXTCLOUD_UNSYNCFILE= \
NEXTCLOUD_SILENT= \
NEXTCLOUD_SLEEP=30
COPY start.sh /start.sh