Skip to content

Commit 54cab65

Browse files
authored
Merge pull request #2682 from k8s-infra-cherrypick-robot/cherry-pick-2680-to-release-1.33
[release-1.33] cleanup: refine Dockerfile
2 parents a801268 + 346f653 commit 54cab65

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

pkg/azurefileplugin/Dockerfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,11 @@ COPY --from=builder --chown=root:root /usr/local/bin/azcopy /usr/local/bin/azcop
3535

3636
RUN apt update && apt upgrade -y && apt-mark unhold libcap2 && clean-install ca-certificates cifs-utils util-linux e2fsprogs mount udev xfsprogs nfs-common netbase
3737

38-
COPY ./pkg/azurefile-proxy/init.sh /azurefile-proxy/
39-
COPY ./pkg/azurefile-proxy/install-proxy.sh /azurefile-proxy/
38+
COPY ./pkg/azurefile-proxy/*.sh /azurefile-proxy/
4039
COPY ./pkg/azurefile-proxy/azurefile-proxy.service /azurefile-proxy/
4140
COPY ./_output/${ARCH}/azurefile-proxy /azurefile-proxy/
4241

43-
RUN chmod +x /azurefile-proxy/init.sh && \
44-
chmod +x /azurefile-proxy/install-proxy.sh && \
42+
RUN chmod +x /azurefile-proxy/*.sh && \
4543
chmod +x /azurefile-proxy/azurefile-proxy.service && \
4644
chmod +x /azurefile-proxy/azurefile-proxy
4745

0 commit comments

Comments
 (0)