fix: post-csi-driver-nfs-push-images failure

This commit is contained in:
andyzhangx 2022-03-23 12:46:50 +00:00
parent 7346ad8542
commit b2ac55c19b

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