mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-05-21 10:50:10 +00:00
build(deps): bump golang from 1.26.1-alpine3.23 to 1.26.2-alpine3.23 in /Containers/watchtower
29 lines
706 B
Docker
29 lines
706 B
Docker
# syntax=docker/dockerfile:latest
|
|
FROM golang:1.26.2-alpine3.23 AS go
|
|
|
|
ENV WATCHTOWER_COMMIT_HASH=652c89577076f6bc6f2af4465217589641216ee3
|
|
|
|
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.16.1
|
|
|
|
FROM alpine:3.23.3
|
|
|
|
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
|
|
|
|
ENTRYPOINT ["/start.sh"]
|
|
LABEL com.centurylinklabs.watchtower.enable="false" \
|
|
wud.watch="false" \
|
|
org.label-schema.vendor="Nextcloud"
|