Merge pull request 'fix: [nomad-step-4] S4-fix-3 — Dockerfile COPY sops fails on fresh clone (download instead) (#974)' (#975) from fix/issue-974 into main
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
This commit is contained in:
commit
93c26ef037
1 changed files with 4 additions and 2 deletions
|
|
@ -7,8 +7,10 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||||
|
|
||||||
# Pre-built binaries (copied from docker/agents/bin/)
|
# Pre-built binaries (copied from docker/agents/bin/)
|
||||||
# SOPS — encrypted data decryption tool
|
# SOPS — encrypted data decryption tool
|
||||||
COPY docker/agents/bin/sops /usr/local/bin/sops
|
# Download sops binary (replaces manual COPY of vendored binary)
|
||||||
RUN chmod +x /usr/local/bin/sops
|
ARG SOPS_VERSION=3.9.4
|
||||||
|
RUN curl -fsSL "https://github.com/getsops/sops/releases/download/v${SOPS_VERSION}/sops-v${SOPS_VERSION}.linux.amd64" \
|
||||||
|
-o /usr/local/bin/sops && chmod +x /usr/local/bin/sops
|
||||||
|
|
||||||
# tea CLI — official Gitea/Forgejo CLI for issue/label/comment operations
|
# tea CLI — official Gitea/Forgejo CLI for issue/label/comment operations
|
||||||
COPY docker/agents/bin/tea /usr/local/bin/tea
|
COPY docker/agents/bin/tea /usr/local/bin/tea
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue