Skip to content
Snippets Groups Projects
Commit 9c0dfbf3 authored by Timo Furrer's avatar Timo Furrer
Browse files

Merge branch 'docker-copy-chmod' into 'main'

Use COPY with chmod instead of separate RUN

See merge request components/opentofu!40
parents 12cd3391 f140fdd2
No related branches found
No related tags found
Loading
......@@ -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 []
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment