docker-nextcloudclient/Dockerfile

27 lines
610 B
Docker
Raw Normal View History

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
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=
2021-05-04 15:03:29 +00:00
ENV NEXTCLOUD_SILENT=
2021-05-04 15:13:05 +00:00
ENV 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"]