Skip to content

Commit 8af771f

Browse files
[local] Fix builder image
1 parent 2418fb3 commit 8af771f

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)