Skip to content

Commit 7780e53

Browse files
antoine-gaillardFricounet
authored andcommitted
[local] Remove validation image
1 parent b1a3bb7 commit 7780e53

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

Dockerfile.dd

+1-13
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ADD . .
1212
RUN GOARCH=$(echo $TARGETPLATFORM | cut -f2 -d '/') GCE_PD_CSI_STAGING_VERSION=$STAGINGVERSION make gce-pd-driver
1313

1414
# Start from BASE_IMAGE.
15-
FROM $BASE_IMAGE as output-image
15+
FROM $BASE_IMAGE
1616

1717
# Install necessary dependencies
1818
# google_nvme_id script depends on the following packages: nvme-cli, xxd, bash
@@ -23,16 +23,4 @@ USER dog
2323
# Copy NVME support required script and rules into base image.
2424
COPY deploy/kubernetes/udev/google_nvme_id /lib/udev_containerized/google_nvme_id
2525

26-
# Build stage used for validation of the output-image
27-
# See validate-container-linux-* targets in Makefile
28-
FROM output-image as validation-image
29-
30-
COPY --from=output-image /usr/bin/ldd /usr/bin/find /usr/bin/xargs /usr/bin/
31-
COPY --from=builder /go/src/sigs.k8s.io/gcp-compute-persistent-disk-csi-driver/hack/print-missing-deps.sh /print-missing-deps.sh
32-
SHELL ["/bin/bash", "-c"]
33-
RUN /print-missing-deps.sh
34-
35-
# Final build stage, create the real Docker image with ENTRYPOINT
36-
FROM output-image
37-
3826
ENTRYPOINT ["/gce-pd-csi-driver"]

0 commit comments

Comments
 (0)