docker-nextcloudclient/Dockerfile

28 lines
646 B
Docker

FROM alpine:3.18
RUN \
apk upgrade --update --no-cache && \
apk add --update --no-cache nextcloud-client bash
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
ENTRYPOINT ["/bin/bash", "/start.sh"]