From 01054733506718a9fc08554d6f3f1bf9a86934bd Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 9 Jan 2025 00:20:50 +0000 Subject: [PATCH] chore(deps): update alpine docker tag to v3.21.2 --- Dockerfile | 2 +- Earthfile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index f4dad145c..d2091dd8e 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.1 +FROM alpine:3.21.2 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 c7b67e05a..e187ed6b5 100644 --- a/Earthfile +++ b/Earthfile @@ -1,6 +1,6 @@ VERSION --new-platform 0.6 -FROM --platform=linux/amd64 alpine:3.21.1 +FROM --platform=linux/amd64 alpine:3.21.2 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.1 + FROM --platform=$TARGETPLATFORM alpine:3.21.2 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