mirror of
https://github.com/grafana/grafana.git
synced 2026-02-03 20:49:50 -05:00
Build: Update alpine version to 3.23.2 (#116527)
This commit is contained in:
parent
f0a9aed7b1
commit
67e250f4dd
4 changed files with 4 additions and 4 deletions
|
|
@ -14,7 +14,7 @@ ARG JS_SRC=js-builder
|
||||||
|
|
||||||
# Dependabot cannot update dependencies listed in ARGs
|
# Dependabot cannot update dependencies listed in ARGs
|
||||||
# By using FROM instructions we can delegate dependency updates to dependabot
|
# 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 ubuntu:22.04 AS ubuntu-base
|
||||||
FROM golang:1.25.6-alpine AS go-builder-base
|
FROM golang:1.25.6-alpine AS go-builder-base
|
||||||
FROM --platform=${JS_PLATFORM} node:24-alpine AS js-builder-base
|
FROM --platform=${JS_PLATFORM} node:24-alpine AS js-builder-base
|
||||||
|
|
|
||||||
|
|
@ -59,7 +59,7 @@ docker_build () {
|
||||||
esac
|
esac
|
||||||
if [ $UBUNTU_BASE = "0" ]; then
|
if [ $UBUNTU_BASE = "0" ]; then
|
||||||
libc="-musl"
|
libc="-musl"
|
||||||
base_image="${base_arch}alpine:3.18.5"
|
base_image="${base_arch}alpine:3.23.2"
|
||||||
else
|
else
|
||||||
libc=""
|
libc=""
|
||||||
base_image="${base_arch}ubuntu:22.04"
|
base_image="${base_arch}ubuntu:22.04"
|
||||||
|
|
|
||||||
|
|
@ -206,7 +206,7 @@ func (t *Tarball) Builder(ctx context.Context, opts *pipeline.ArtifactContainerO
|
||||||
version := t.Version
|
version := t.Version
|
||||||
|
|
||||||
container := opts.Client.Container().
|
container := opts.Client.Container().
|
||||||
From("alpine:3.18.4").
|
From("alpine:3.23.2").
|
||||||
WithExec([]string{"apk", "add", "--update", "tar"}).
|
WithExec([]string{"apk", "add", "--update", "tar"}).
|
||||||
WithExec([]string{"/bin/sh", "-c", fmt.Sprintf("echo %s > VERSION", version)})
|
WithExec([]string{"/bin/sh", "-c", fmt.Sprintf("echo %s > VERSION", version)})
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ import (
|
||||||
|
|
||||||
// NodeVersionContainer returns a container whose `stdout` will return the node version from the '.nvmrc' file in the directory 'src'.
|
// 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 {
|
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).
|
WithMountedDirectory("/src", src).
|
||||||
WithWorkdir("/src").
|
WithWorkdir("/src").
|
||||||
WithExec([]string{"cat", ".nvmrc"})
|
WithExec([]string{"cat", ".nvmrc"})
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue