File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 1212# See the License for the specific language governing permissions and
1313# limitations under the License.
1414
15- FROM golang:1.13.15 as builder
15+ FROM golang:1.19 as builder
1616WORKDIR /go/src/sigs.k8s.io/gcp-compute-persistent-disk-csi-driver
1717ADD . .
1818
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
2125
2226# MAD HACKS: Build a version first so we can take the scsi_id bin and put it somewhere else in our real build
2327FROM 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