Skip to content

fix: install curl for the Vector download and purge it after - #135

Merged
catinspace-au merged 1 commit into
mainfrom
fix/vector-layer-curl
Oct 29, 2026
Merged

catinspace-au merged 1 commit into
mainfrom
fix/vector-layer-curl

Conversation

@catinspace-au

Copy link
Copy Markdown
Contributor

#134's release run (40898663085) built both binaries and then failed the Container job: the Vector download layer runs curl, and the production base image carries no curl since scalo 2.14.22 (/bin/sh: 1: curl: not found). Nothing was tagged or published.

  • src/vector-layer.dockerfile installs curl, downloads and checksums the Vector archive, then purges curl in the same RUN, so the shipped image still has no HTTP client.
  • Dockerfile regenerated.

Proved locally: docker build of the regenerated Dockerfile (stub app binary, amd64) succeeds, and in the image curl is absent, vector --version prints 0.60.0, the licence files are in /usr/share/doc/vector, bash is present for the health check, and the user is 1000. The image was removed after. hadolint is clean and the deployment integration tests pass.

Merging with the release trailer cuts the release #134 should have.

The production base image carries no curl since scalo 2.14.22, so the Vector download layer failed with "curl: not found" and #134's release run published nothing. The layer now installs curl, downloads and checks the archive, and purges curl in the same RUN, so the shipped image still has no HTTP client.
@catinspace-au
catinspace-au merged commit 6da907f into main Oct 29, 2026
17 checks passed
@catinspace-au
catinspace-au deleted the fix/vector-layer-curl branch October 29, 2026 16:08
@github-actions

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant