Merge pull request #298 from andyzhangx/fix-cloud-build

fix: post-csi-driver-nfs-push-images failure
This commit is contained in:
Andy Zhang 2022-03-24 14:59:16 +08:00 committed by GitHub
commit d989685753
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,11 +14,9 @@
FROM k8s.gcr.io/build-image/debian-base:bullseye-v1.1.0
# Architecture for bin folder
ARG ARCH
# Copy nfsplugin from build _output directory
COPY ./bin/${ARCH}/nfsplugin /nfsplugin
ARG binary=./bin/${ARCH}/nfsplugin
COPY ${binary} /nfsplugin
RUN apt update && apt-mark unhold libcap2
RUN clean-install ca-certificates mount nfs-common netbase