Skip to content

Commit ebabd46

Browse files
authored
Merge pull request #2095 from andyzhangx/refine-Dockerfile2
cleanup: refine Dockerfile
2 parents 85e6aa1 + 67edb01 commit ebabd46

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

pkg/blobplugin/Dockerfile

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,15 +54,11 @@ COPY --from=builder --chown=root:root /blobfuse-proxy /blobfuse-proxy
5454
# packages that are only needed by aznfs: procps conntrack iptables bind9-host iproute2 bash netcat sysvinit-utils.
5555
RUN apt update && apt upgrade -y && apt-mark unhold libcap2 && clean-install ca-certificates uuid-dev util-linux mount udev e2fsprogs nfs-common netbase procps conntrack iptables bind9-host iproute2 bash netcat-traditional sysvinit-utils kmod
5656

57-
COPY ./pkg/blobfuse-proxy/init.sh /blobfuse-proxy/
58-
COPY ./pkg/blobfuse-proxy/install-proxy.sh /blobfuse-proxy/
59-
COPY ./pkg/blobfuse-proxy/install-proxy-rhcos.sh /blobfuse-proxy/
57+
COPY ./pkg/blobfuse-proxy/*.sh /blobfuse-proxy/
6058
COPY ./pkg/blobfuse-proxy/blobfuse-proxy.service /blobfuse-proxy/
6159
COPY ./_output/${ARCH}/blobfuse-proxy /blobfuse-proxy/
6260

63-
RUN chmod +x /blobfuse-proxy/init.sh && \
64-
chmod +x /blobfuse-proxy/install-proxy-rhcos.sh && \
65-
chmod +x /blobfuse-proxy/install-proxy.sh && \
61+
RUN chmod +x /blobfuse-proxy/*.sh && \
6662
chmod +x /blobfuse-proxy/blobfuse-proxy.service && \
6763
chmod +x /blobfuse-proxy/blobfuse-proxy
6864

0 commit comments

Comments
 (0)