Skip to content

Commit 3faa5f1

Browse files
antoine-gaillarddatadog-compute-robot
authored andcommitted
[local] Fix builder image
1 parent 1ef66de commit 3faa5f1

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

cmd/csi-snapshotter/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
ARG BASE_IMAGE
2+
ARG BUILDER_IMAGE
23

3-
FROM golang:1.21 as builder
4+
FROM $BUILDER_IMAGE as builder
45
WORKDIR /go/src/kubernetes-csi/external-snapshotter
56
ADD . .
67
ENV GOTOOLCHAIN auto

cmd/snapshot-controller/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
ARG BASE_IMAGE
2+
ARG BUILDER_IMAGE
23

3-
FROM registry.ddbuild.io/images/mirror/golang:1.22 as builder
4+
FROM $BUILDER_IMAGE as builder
45
WORKDIR /go/src/kubernetes-csi/external-snapshotter
56
ADD . .
67
ENV GOTOOLCHAIN auto

0 commit comments

Comments
 (0)