From ebb1c8c284df03c4efae320c760af9b89061ef06 Mon Sep 17 00:00:00 2001 From: Daniel Lipovetsky Date: Fri, 15 Sep 2023 14:41:14 -0700 Subject: [PATCH] Dockerfile: Use WORKDIR consistently --- Dockerfile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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"]