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