26 lines
580 B
Docker
26 lines
580 B
Docker
FROM alpine:3.13
|
|
|
|
RUN \
|
|
apk upgrade --update --no-cache && \
|
|
apk add --update --no-cache nextcloud-client
|
|
|
|
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=
|
|
|
|
COPY start.sh /start.sh
|
|
|
|
ENTRYPOINT ["/bin/sh", "/start.sh"]
|