Skip to content

Commit e95d877

Browse files
authored
Merge pull request #1052 from alexander-ding/fix/docker-debug
fix: copy compiled binary into final image
2 parents e0f9438 + 6b3a009 commit e95d877

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Dockerfile.debug

+1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ FROM k8s.gcr.io/build-image/debian-base-amd64:buster-v1.5.0
3333
# Copy source code too to correlate the binary and the breakpoints
3434
WORKDIR /go/src/sigs.k8s.io/gcp-compute-persistent-disk-csi-driver
3535
ADD . .
36+
COPY --from=builder /go/src/sigs.k8s.io/gcp-compute-persistent-disk-csi-driver/bin/gce-pd-csi-driver /go/src/sigs.k8s.io/gcp-compute-persistent-disk-csi-driver/bin/gce-pd-csi-driver
3637

3738
COPY --from=builder /go/bin/dlv /go/bin/dlv
3839

0 commit comments

Comments
 (0)