mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-01-08 14:47:43 +08:00
68d95af47d
Signed-off-by: Simon L <szaimen@e.mail.de>
21 lines
462 B
Docker
21 lines
462 B
Docker
FROM alpine:3.18.2
|
|
|
|
COPY --chmod=775 start.sh /start.sh
|
|
|
|
RUN set -ex; \
|
|
apk add --no-cache \
|
|
ca-certificates \
|
|
netcat-openbsd \
|
|
tzdata \
|
|
bash \
|
|
openssl; \
|
|
# Give root a random password
|
|
echo "root:$(openssl rand -base64 12)" | chpasswd; \
|
|
apk del --no-cache \
|
|
openssl;
|
|
|
|
USER 33
|
|
ENTRYPOINT ["/start.sh"]
|
|
|
|
HEALTHCHECK CMD nc -z localhost 7867 || exit 1
|
|
LABEL com.centurylinklabs.watchtower.enable="false"
|