mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-09-18 09:17:24 +00:00
Bumps golang from 1.27.0-alpine3.24 to 1.27.1-alpine3.24. --- updated-dependencies: - dependency-name: golang dependency-version: 1.27.1-alpine3.24 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
37 lines
1.2 KiB
Docker
37 lines
1.2 KiB
Docker
# syntax=docker/dockerfile:latest
|
|
FROM golang:1.27.1-alpine3.24 AS go
|
|
|
|
ENV WATCHTOWER_COMMIT_HASH=bafcfa83eea47138851982cd0bdd14b8ad334919
|
|
|
|
RUN set -ex; \
|
|
apk upgrade --no-cache -a; \
|
|
apk add --no-cache \
|
|
build-base; \
|
|
go install github.com/nicholas-fedor/watchtower@$WATCHTOWER_COMMIT_HASH # v1.21.2
|
|
|
|
FROM alpine:3.24.1
|
|
|
|
RUN set -ex; \
|
|
apk upgrade --no-cache -a; \
|
|
apk add --no-cache bash ca-certificates tzdata
|
|
|
|
COPY --from=go /go/bin/watchtower /watchtower
|
|
|
|
COPY --chmod=775 start.sh /start.sh
|
|
|
|
# hadolint ignore=DL3002
|
|
USER root:root
|
|
|
|
ENV AIO_LOG_LEVEL="warn"
|
|
|
|
ENTRYPOINT ["/start.sh"]
|
|
LABEL com.centurylinklabs.watchtower.enable="false" \
|
|
wud.watch="false" \
|
|
dockhand.update="false" \
|
|
org.opencontainers.image.title="Watchtower for Nextcloud AIO" \
|
|
org.opencontainers.image.description="Watchtower auto-update service for Nextcloud All-in-One containers" \
|
|
org.opencontainers.image.url="https://github.com/nextcloud/all-in-one" \
|
|
org.opencontainers.image.source="https://github.com/nextcloud/all-in-one" \
|
|
org.opencontainers.image.vendor="Nextcloud" \
|
|
org.opencontainers.image.documentation="https://github.com/nextcloud/all-in-one/blob/main/readme.md"
|