fix: bug: agents Dockerfile build fails — SOPS checksum download unreachable (#120)
This commit is contained in:
parent
2a9239a32f
commit
ad0b0e181f
3 changed files with 67 additions and 12 deletions
|
|
@ -3,20 +3,16 @@ FROM debian:bookworm-slim
|
|||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
bash curl git jq tmux cron python3 python3-pip openssh-client ca-certificates age shellcheck \
|
||||
&& pip3 install --break-system-packages networkx \
|
||||
&& curl -sL https://github.com/getsops/sops/releases/download/v3.9.4/sops-v3.9.4.linux.amd64 \
|
||||
-o /usr/local/bin/sops \
|
||||
&& curl -sL https://github.com/getsops/sops/releases/download/v3.9.4/sops-v3.9.4.checksums.txt \
|
||||
-o /tmp/sops-checksums.txt \
|
||||
&& sha256sum -c --ignore-missing /tmp/sops-checksums.txt \
|
||||
&& rm -f /tmp/sops-checksums.txt \
|
||||
&& chmod +x /usr/local/bin/sops \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Pre-built binaries (copied from docker/agents/bin/)
|
||||
# SOPS — encrypted data decryption tool
|
||||
COPY bin/sops /usr/local/bin/sops
|
||||
RUN chmod +x /usr/local/bin/sops
|
||||
|
||||
# tea CLI — official Gitea/Forgejo CLI for issue/label/comment operations
|
||||
# Checksum from https://dl.gitea.com/tea/0.9.2/tea-0.9.2-linux-amd64.sha256
|
||||
RUN curl -sL https://dl.gitea.com/tea/0.9.2/tea-0.9.2-linux-amd64 -o /usr/local/bin/tea \
|
||||
&& echo "be10cdf9a619e3c0f121df874960ed19b53e62d1c7036cf60313a28b5227d54d /usr/local/bin/tea" | sha256sum -c - \
|
||||
&& chmod +x /usr/local/bin/tea
|
||||
COPY bin/tea /usr/local/bin/tea
|
||||
RUN chmod +x /usr/local/bin/tea
|
||||
|
||||
# Claude CLI is mounted from the host via docker-compose volume.
|
||||
# No internet access to cli.anthropic.com required at build time.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue