mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-02-11 16:20:20 +00:00
Some checks are pending
Codespell / Check spelling (push) Waiting to run
Docker Lint / docker-lint (push) Waiting to run
Helm Chart Releaser / release (push) Waiting to run
Lint php / php-lint (push) Waiting to run
Lint php / php-lint-summary (push) Blocked by required conditions
PHP Deprecation Detector / PHP Deprecation Detector (push) Waiting to run
Playwright Tests on push / test (push) Waiting to run
Static analysis / static-psalm-analysis (push) Waiting to run
Shellcheck / Check Shell (push) Waiting to run
build(deps): bump golang from 1.25.6-alpine3.23 to 1.26.0-alpine3.23 in /Containers/watchtower
28 lines
706 B
Docker
28 lines
706 B
Docker
# syntax=docker/dockerfile:latest
|
|
FROM golang:1.26.0-alpine3.23 AS go
|
|
|
|
ENV WATCHTOWER_COMMIT_HASH=b09b3a5c5e1094b746575a19a7fc0135c8908c9d
|
|
|
|
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.14.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"
|