28 lines
657 B
Docker
Raw Permalink Normal View History

2023-11-09 17:26:58 +01:00
FROM alpine:3.18
2021-04-28 14:25:11 +02:00
RUN \
apk upgrade --update --no-cache && \
2023-11-09 16:27:05 +01:00
apk add --update --no-cache nextcloud-client bash
2021-04-28 14:25:11 +02:00
2023-11-09 17:30:40 +01:00
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
2021-04-28 14:25:11 +02:00
2023-11-09 18:05:53 +01:00
COPY entrypoint.sh start.sh /
2021-04-28 14:25:11 +02:00
2023-11-09 18:05:53 +01:00
ENTRYPOINT ["/bin/bash", "/entrypoint.sh"]