mirror of
https://github.com/nextcloud/all-in-one.git
synced 2024-12-27 01:02:10 +08:00
c859dd58a2
Bumps alpine from 3.18.4 to 3.18.5. --- updated-dependencies: - dependency-name: alpine dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
22 lines
495 B
Docker
22 lines
495 B
Docker
FROM alpine:3.18.5
|
|
|
|
COPY --chmod=775 start.sh /start.sh
|
|
COPY --chmod=775 healthcheck.sh /healthcheck.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 /healthcheck.sh
|
|
LABEL com.centurylinklabs.watchtower.enable="false"
|