Update alpine package dep for docker images (#3917)

This commit is contained in:
6543 2024-07-16 12:39:23 -07:00 committed by GitHub
parent 575f83cbea
commit aa276403b3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 10 deletions

View file

@ -8,9 +8,7 @@ RUN --mount=type=cache,target=/root/.cache/go-build \
make build-agent
FROM docker.io/alpine:3.20
# renovate: datasource=repology depName=alpine_3_18/ca-certificates versioning=loose
ENV CA_CERTIFICATES_VERSION="20240226-r0"
RUN apk add -U --no-cache ca-certificates=${CA_CERTIFICATES_VERSION}
RUN apk add -U --no-cache ca-certificates
ENV GODEBUG=netdns=go
EXPOSE 3000

View file

@ -8,9 +8,7 @@ RUN --mount=type=cache,target=/root/.cache/go-build \
make build-cli
FROM docker.io/alpine:3.20
# renovate: datasource=repology depName=alpine_3_18/ca-certificates versioning=loose
ENV CA_CERTIFICATES_VERSION="20240226-r0"
RUN apk add -U --no-cache ca-certificates=${CA_CERTIFICATES_VERSION}
RUN apk add -U --no-cache ca-certificates
ENV GODEBUG=netdns=go
ENV WOODPECKER_DISABLE_UPDATE_CHECK=true

View file

@ -1,10 +1,7 @@
FROM docker.io/alpine:3.20
# renovate: datasource=repology depName=alpine_3_18/ca-certificates versioning=loose
ENV CA_CERTIFICATES_VERSION="20240226-r0"
ARG TARGETOS TARGETARCH
RUN apk add -U --no-cache ca-certificates=${CA_CERTIFICATES_VERSION}
RUN apk add -U --no-cache ca-certificates
ENV GODEBUG=netdns=go
# Internal setting do NOT change! Signals that woodpecker is running inside a container
ENV WOODPECKER_IN_CONTAINER=true