Skip to content

Commit d2d6cea

Browse files
chore(deps): Update dockerfile dependencies
| datasource | package | from | to | | ---------- | ----------------- | ------ | ------ | | docker | alpine | 3.17 | 3.23 | | docker | alpine | 3.18 | 3.23 | | docker | docker/dockerfile | 1.4 | 1.21 | | docker | golang | 1.25.7 | 1.26.0 | Signed-off-by: renovate-sh-app[bot] <219655108+renovate-sh-app[bot]@users.noreply.github.com>
1 parent 7320bd4 commit d2d6cea

10 files changed

Lines changed: 17 additions & 17 deletions

File tree

Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
# syntax=docker/dockerfile:1.4
1+
# syntax=docker/dockerfile:1.21@sha256:27f9262d43452075f3c410287a2c43f5ef1bf7ec2bb06e8c9eeb1b8d453087bc
22

33
# NOTE: This Dockerfile can only be built using BuildKit. BuildKit is used by
44
# default when running `docker buildx build` or when DOCKER_BUILDKIT=1 is set
55
# in environment variables.
66

7-
FROM --platform=$BUILDPLATFORM grafana/alloy-build-image:v0.1.27 AS ui-build
7+
FROM --platform=$BUILDPLATFORM grafana/alloy-build-image:v0.1.27@sha256:1c3b0de3d5cdd1d2e8b7fab4da70e1bda6629eede4cfaee846d04c4e80f14708 AS ui-build
88
ARG BUILDPLATFORM
99
COPY ./internal/web/ui /ui
1010
WORKDIR /ui
1111
RUN --mount=type=cache,target=/ui/node_modules,sharing=locked \
1212
npm install \
1313
&& npm run build
1414

15-
FROM --platform=$BUILDPLATFORM grafana/alloy-build-image:v0.1.27 AS build
15+
FROM --platform=$BUILDPLATFORM grafana/alloy-build-image:v0.1.27@sha256:1c3b0de3d5cdd1d2e8b7fab4da70e1bda6629eede4cfaee846d04c4e80f14708 AS build
1616

1717
ARG BUILDPLATFORM
1818
ARG TARGETPLATFORM
@@ -39,7 +39,7 @@ RUN --mount=type=cache,target=/root/.cache/go-build \
3939

4040
###
4141

42-
FROM public.ecr.aws/ubuntu/ubuntu:noble
42+
FROM public.ecr.aws/ubuntu/ubuntu:noble@sha256:2840d5f4a6a1a8eb11e0d493bf0bbc030442d48e902e99bbc7127b76f9775b1e
4343

4444
# Username and uid for alloy user
4545
ARG UID="473"

Dockerfile.windows

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
ARG BASE_IMAGE_GO=library/golang:1.24-windowsservercore-ltsc2022
2-
ARG BASE_IMAGE_WINDOWS=mcr.microsoft.com/windows/nanoserver:ltsc2022
2+
ARG BASE_IMAGE_WINDOWS=mcr.microsoft.com/windows/nanoserver:ltsc2022@sha256:60612a30303eb5a15ce7f53fa2eecf70bca41d72657de0482fbde601ae5f3403
33

44
FROM ${BASE_IMAGE_GO} AS builder
55

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
FROM golang:1.25.7-alpine
1+
FROM golang:1.26.0-alpine@sha256:d4c4845f5d60c6a974c6000ce58ae079328d03ab7f721a0734277e69905473e5
22

33
RUN go install github.com/grafana/grizzly/cmd/grr@v0.7.1
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
FROM golang:1.25.7-alpine
1+
FROM golang:1.26.0-alpine@sha256:d4c4845f5d60c6a974c6000ce58ae079328d03ab7f721a0734277e69905473e5
22

33
RUN go install github.com/jsonnet-bundler/jsonnet-bundler/cmd/jb@v0.5.1

integration-tests/docker/configs/kafka/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ COPY syntax/go.mod syntax/go.sum ./syntax/
55
RUN go mod download
66
COPY ./integration-tests/docker/configs/kafka/ ./
77
RUN CGO_ENABLED=0 go build -o main main.go
8-
FROM alpine:3.18
8+
FROM alpine:3.23@sha256:25109184c71bdad752c8312a8623239686a9a2071e8825f20acb8f2198c3f659
99
COPY --from=build /app/main /app/main
1010
CMD ["/app/main"]

integration-tests/docker/configs/otel-gen/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ COPY syntax/go.mod syntax/go.sum ./syntax/
55
RUN go mod download
66
COPY ./integration-tests/docker/configs/otel-gen/ ./
77
RUN CGO_ENABLED=0 go build -o main main.go
8-
FROM alpine:3.18
8+
FROM alpine:3.23@sha256:25109184c71bdad752c8312a8623239686a9a2071e8825f20acb8f2198c3f659
99
COPY --from=build /app/main /app/main
1010
CMD ["/app/main"]

integration-tests/docker/configs/prom-gen/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ COPY syntax/go.mod syntax/go.sum ./syntax/
55
RUN go mod download
66
COPY ./integration-tests/docker/configs/prom-gen/ ./
77
RUN CGO_ENABLED=0 go build -o main main.go
8-
FROM alpine:3.18
8+
FROM alpine:3.23@sha256:25109184c71bdad752c8312a8623239686a9a2071e8825f20acb8f2198c3f659
99
COPY --from=build /app/main /app/main
1010
CMD ["/app/main"]

internal/tools/packaging_test/testdata/centos-systemd.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Build a CentOS image with systemd configured to test RPM package installation.
22
# See the `test-packages` make target and associated script for how this image is used.
3-
FROM centos:8
3+
FROM centos:8@sha256:a27fd8080b517143cbbbab9dfb7c8571c40d67d534bbdee55bd6c473f432b177
44
ENV container docker
55
RUN (cd /lib/systemd/system/sysinit.target.wants/; for i in *; do [ $i == \
66
systemd-tmpfiles-setup.service ] || rm -f $i; done); \

internal/tools/packaging_test/testdata/debian-systemd.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Build a Debian image with systemd configured to test deb package installation.
22
# See the `test-packages` make target and associated script for how this image is used.
3-
FROM debian:10
3+
FROM debian:10@sha256:58ce6f1271ae1c8a2006ff7d3e54e9874d839f573d8009c20154ad0f2fb0a225
44
ENV container docker
55
ENV LC_ALL C
66
ENV DEBIAN_FRONTEND noninteractive

tools/build-image/Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# syntax=docker/dockerfile:1.4
1+
# syntax=docker/dockerfile:1.21@sha256:27f9262d43452075f3c410287a2c43f5ef1bf7ec2bb06e8c9eeb1b8d453087bc
22

33
# NOTE: This Dockerfile can only be built using BuildKit. BuildKit is used by
44
# default when running `docker buildx build` or when DOCKER_BUILDKIT=1 is set
@@ -15,15 +15,15 @@ ARG GO_RUNTIME=mustoverride
1515
#
1616

1717
# Dependency: docker (for building images)
18-
FROM alpine:3.17 as docker
18+
FROM alpine:3.23@sha256:25109184c71bdad752c8312a8623239686a9a2071e8825f20acb8f2198c3f659 as docker
1919
RUN apk add --no-cache docker-cli docker-cli-buildx
2020

2121
# Dependency: helm
22-
FROM alpine:3.17 as helm
22+
FROM alpine:3.23@sha256:25109184c71bdad752c8312a8623239686a9a2071e8825f20acb8f2198c3f659 as helm
2323
RUN apk add --no-cache helm
2424

2525
# Dependency: nsis (for building Windows installers)
26-
FROM alpine:3.17 as nsis
26+
FROM alpine:3.23@sha256:25109184c71bdad752c8312a8623239686a9a2071e8825f20acb8f2198c3f659 as nsis
2727
RUN wget -nv https://nsis.sourceforge.io/mediawiki/images/4/4a/AccessControl.zip \
2828
&& unzip AccessControl.zip -d /usr/share/nsis/ \
2929
&& mkdir -p /usr/share/nsis/Plugins/x86-unicode \
@@ -52,7 +52,7 @@ RUN go install sigs.k8s.io/controller-tools/cmd/controller-gen@$CONTROLLER_GEN_V
5252

5353
# rfratto/viceroy contains C cross compilers can be used for our Cgo
5454
# dependencies.
55-
FROM rfratto/viceroy:v0.4.0
55+
FROM rfratto/viceroy:v0.4.0@sha256:7e3f328889b5b0c5c0303dda5e74a89189e6e437d33f609dde98f9a84337e0a2
5656

5757
# Fix apt sources - restrict main bullseye to supported architectures
5858
RUN rm -f /etc/apt/sources.list \

0 commit comments

Comments
 (0)