File tree 1 file changed +7
-3
lines changed
1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
14
15
- FROM golang:1.13.15 as builder
15
+ FROM golang:1.19 as builder
16
16
WORKDIR /go/src/sigs.k8s.io/gcp-compute-persistent-disk-csi-driver
17
17
ADD . .
18
18
19
- RUN CGO_ENABLED=0 go get -ldflags "-s -w -extldflags '-static'" github.com/go-delve/delve/cmd/dlv
20
- RUN GCE_PD_CSI_DEBUG=1 make gce-pd-driver
19
+ ARG STAGINGVERSION
20
+ ARG TARGETPLATFORM
21
+
22
+ RUN CGO_ENABLED=0 go install -ldflags "-s -w -extldflags '-static'" github.com/go-delve/delve/cmd/dlv@latest
23
+
24
+ RUN GOARCH="$(echo $TARGETPLATFORM | cut -f2 -d '/')" GCE_PD_CSI_STAGING_VERSION=$STAGINGVERSION GCE_PD_CSI_DEBUG=1 make gce-pd-driver
21
25
22
26
# MAD HACKS: Build a version first so we can take the scsi_id bin and put it somewhere else in our real build
23
27
FROM k8s.gcr.io/build-image/debian-base-amd64:buster-v1.5.0 as mad-hack
You can’t perform that action at this time.
0 commit comments