all-in-one/Containers/watchtower/Dockerfile
dependabot[bot] fd0c347c16
build(deps): bump golang in /Containers/watchtower
Bumps golang from 1.24.3-alpine3.21 to 1.24.4-alpine3.21.

---
updated-dependencies:
- dependency-name: golang
  dependency-version: 1.24.4-alpine3.21
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-06 04:21:45 +00:00

25 lines
616 B
Docker

# syntax=docker/dockerfile:latest
FROM golang:1.24.4-alpine3.21 AS go
RUN set -ex; \
apk upgrade --no-cache -a; \
apk add --no-cache \
build-base; \
go install github.com/containrrr/watchtower@76f9cea516593fabb8ca91ff13de55caa6aa0a8b;
FROM alpine:3.21.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" \
org.label-schema.vendor="Nextcloud"