From 768c9ab9b35581c3c2955c5b447db18af2dda22c Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 7 Jan 2025 09:01:53 +0000 Subject: [PATCH] chore(deps): update alpine docker tag to v3.21.1 --- Dockerfile | 2 +- Earthfile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index cc7a123a8..f4dad145c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,7 +22,7 @@ ENV NAME=${NAME} RUN CGO_ENABLED=1 GOOS=linux go build -a -installsuffix cgo -ldflags "-extldflags \"-static\" -s -w -X github.com/owncast/owncast/config.GitCommit=$GIT_COMMIT -X github.com/owncast/owncast/config.VersionNumber=$VERSION -X github.com/owncast/owncast/config.BuildPlatform=$NAME" -o owncast . # Create the image by copying the result of the build into a new alpine image -FROM alpine:3.21.0 +FROM alpine:3.21.1 RUN apk update && apk add --no-cache ffmpeg ffmpeg-libs ca-certificates && update-ca-certificates RUN addgroup -g 101 -S owncast && adduser -u 101 -S owncast -G owncast diff --git a/Earthfile b/Earthfile index 90232dc27..c7b67e05a 100644 --- a/Earthfile +++ b/Earthfile @@ -1,6 +1,6 @@ VERSION --new-platform 0.6 -FROM --platform=linux/amd64 alpine:3.21.0 +FROM --platform=linux/amd64 alpine:3.21.1 ARG version=develop WORKDIR /build @@ -119,7 +119,7 @@ docker: # in as space separated strings using the full account/repo:tag format. # https://github.com/earthly/earthly/blob/aea38448fa9c0064b1b70d61be717ae740689fb9/docs/earthfile/earthfile.md#assigning-multiple-image-names ARG TARGETPLATFORM - FROM --platform=$TARGETPLATFORM alpine:3.21.0 + FROM --platform=$TARGETPLATFORM alpine:3.21.1 RUN apk update && apk add --no-cache ffmpeg ffmpeg-libs ca-certificates unzip && update-ca-certificates RUN addgroup -g 101 -S owncast && adduser -u 101 -S owncast -G owncast WORKDIR /app