From dcb0ff5f51f342a55b7834c4187fe158f9318fad Mon Sep 17 00:00:00 2001 From: Florian Greinacher Date: Thu, 26 Sep 2024 17:21:26 +0200 Subject: [PATCH] fix: update Alpine base image (#3938) * fix: update Alpine base image Alpine 3.11 is out of support since nearly a year * chore: help Renovate detect images in the Earthfile --- Earthfile | 4 ++-- renovate.json | 7 +++++++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/Earthfile b/Earthfile index 7349e0354..3ebad1792 100644 --- a/Earthfile +++ b/Earthfile @@ -1,6 +1,6 @@ VERSION --new-platform 0.6 -FROM --platform=linux/amd64 alpine:3.15.5 +FROM --platform=linux/amd64 alpine:3.20.3 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.15.5 + FROM --platform=$TARGETPLATFORM alpine:3.20.3 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 diff --git a/renovate.json b/renovate.json index 8ef166b87..fc73d9461 100644 --- a/renovate.json +++ b/renovate.json @@ -18,6 +18,13 @@ "major": { "dependencyDashboardApproval": true }, + "docker": { + "fileMatch": [ + "(^|/)Earthfile$", + "(^|/|\\.)Dockerfile$", + "(^|/)Dockerfile[^/]*$" + ] + }, "packageRules": [ { "description": "Automatically merge minor and patch-level updates",