diff --git a/Dockerfile b/Dockerfile index 35d9d0a613659a4a201ef3773505b5b715386f2b..34443291b3a5328dd3385020262feca3124b51da 100644 --- a/Dockerfile +++ b/Dockerfile @@ -23,8 +23,7 @@ RUN curl --proto '=https' --tlsv1.2 -fsSL https://get.opentofu.org/install-opent WORKDIR / -COPY src/gitlab-tofu.sh /usr/bin/gitlab-tofu -RUN chmod +x /usr/bin/gitlab-tofu +COPY --chmod=755 src/gitlab-tofu.sh /usr/bin/gitlab-tofu # Override ENTRYPOINT ENTRYPOINT []