diff --git a/Dockerfile b/Dockerfile index 15b558fd8a5..a58c0eea3c7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,7 +14,7 @@ ARG JS_SRC=js-builder # Dependabot cannot update dependencies listed in ARGs # By using FROM instructions we can delegate dependency updates to dependabot -FROM alpine:3.23.0 AS alpine-base +FROM alpine:3.23.2 AS alpine-base FROM ubuntu:22.04 AS ubuntu-base FROM golang:1.25.6-alpine AS go-builder-base FROM --platform=${JS_PLATFORM} node:24-alpine AS js-builder-base diff --git a/packaging/docker/build.sh b/packaging/docker/build.sh index 3c6ec7274cb..fee48a550a5 100755 --- a/packaging/docker/build.sh +++ b/packaging/docker/build.sh @@ -59,7 +59,7 @@ docker_build () { esac if [ $UBUNTU_BASE = "0" ]; then libc="-musl" - base_image="${base_arch}alpine:3.18.5" + base_image="${base_arch}alpine:3.23.2" else libc="" base_image="${base_arch}ubuntu:22.04" diff --git a/pkg/build/daggerbuild/artifacts/package_targz.go b/pkg/build/daggerbuild/artifacts/package_targz.go index 8458582c111..5fed46a280b 100644 --- a/pkg/build/daggerbuild/artifacts/package_targz.go +++ b/pkg/build/daggerbuild/artifacts/package_targz.go @@ -206,7 +206,7 @@ func (t *Tarball) Builder(ctx context.Context, opts *pipeline.ArtifactContainerO version := t.Version container := opts.Client.Container(). - From("alpine:3.18.4"). + From("alpine:3.23.2"). WithExec([]string{"apk", "add", "--update", "tar"}). WithExec([]string{"/bin/sh", "-c", fmt.Sprintf("echo %s > VERSION", version)}) diff --git a/pkg/build/daggerbuild/frontend/node.go b/pkg/build/daggerbuild/frontend/node.go index 27084dcbd3a..1096a48db3c 100644 --- a/pkg/build/daggerbuild/frontend/node.go +++ b/pkg/build/daggerbuild/frontend/node.go @@ -9,7 +9,7 @@ import ( // NodeVersionContainer returns a container whose `stdout` will return the node version from the '.nvmrc' file in the directory 'src'. func NodeVersion(d *dagger.Client, src *dagger.Directory) *dagger.Container { - return d.Container().From("alpine:3.17"). + return d.Container().From("alpine:3.23.2"). WithMountedDirectory("/src", src). WithWorkdir("/src"). WithExec([]string{"cat", ".nvmrc"})