Skip to content

Commit bf08b7d

Browse files
[local] Fix builder image
1 parent fdd7b8a commit bf08b7d

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
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

cmd/snapshot-validation-webhook/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

0 commit comments

Comments
 (0)