[nomad-step-4] S4-fix-3 — Dockerfile COPY sops fails on fresh clone (download instead) #974
Labels
No labels
action
backlog
blocked
bug-report
cannot-reproduce
in-progress
in-triage
needs-triage
prediction/actioned
prediction/dismissed
prediction/unreviewed
priority
rejected
reproduced
tech-debt
underspecified
vision
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: disinto-admin/disinto#974
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Step 4 verification:
docker build -t disinto/agents:latestfails becausedocker/agents/bin/sopsis not in the repo.Symptom
The sops binary was manually placed on disinto-dev-box, never committed. On a fresh LXC clone, the file is missing.
Fix
Replace the
COPY docker/agents/bin/sops /usr/local/bin/sopsline indocker/agents/Dockerfilewith aRUNthat downloads sops from GitHub releases:This makes the build self-contained — no manual file placement needed on any host.
Note: under the Nomad+Vault migration, agents won't need sops at all (Vault templates replace sops decryption). But changing the Dockerfile to remove sops entirely would break the live docker-compose stack. The download approach works for both backends.
Acceptance criteria
docker build -t disinto/agents:latest -f docker/agents/Dockerfile .succeeds on a fresh clone with no pre-placed binaries.docker run --rm disinto/agents:latest sops --versionreturns the expected version.Labels / meta
backlog+bug-report.