diff --git a/Dockerfile b/Dockerfile index 9923197a..10b2c758 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,11 +6,9 @@ RUN tdnf install -y xfsprogs e2fsprogs udev && \ WORKDIR /opt/vcloud/bin ARG CSI_BUILD_DIR -ADD ${CSI_BUILD_DIR}/cloud-director-named-disk-csi-driver . +COPY ${CSI_BUILD_DIR}/cloud-director-named-disk-csi-driver . # copy multiple small files at 1 time to create a single layer -COPY LICENSE.txt NOTICE.txt open_source_license.txt /opt/vcloud/bin/ - -RUN chmod +x /opt/vcloud/bin/cloud-director-named-disk-csi-driver +COPY LICENSE.txt NOTICE.txt open_source_license.txt . # USER nobody ENTRYPOINT ["/bin/bash", "-l", "-c"]