Sign inSign up

tdeutsch/busycurl

By tdeutsch

•Updated 1 day ago

Container image for busycurl

Image
0

2.5K

tdeutsch/busycurl repository overview

⁠busycurl

busybox 1.38 (musl) with a fully static curl⁠ (OpenSSL, HTTP/2, SFTP/SCP via libssh2). Handy as a small debug or init container.

⁠Usage

docker run --rm ghcr.io/tuxpeople/busycurl:latest curl -fsS https://example.com
docker run --rm -it ghcr.io/tuxpeople/busycurl:latest sh

⁠Image

  • curl is built from the signed upstream release (GPG-verified) and linked statically
  • Image version = curl version (8.23.0, 8.23, 8, latest); the busybox version is pinned in the Dockerfile and updated by Renovate
  • Runs as nobody (UID 65534), CMD ["sleep", "infinity"]
  • The nightly build picks up new curl releases (get-version.sh)

Before the move to oci-containers the tags were <busybox>-<curl> (e.g. 1.38.0-musl-8.23.0), and those images actually contained curl 8.11.0. Use the new tags.

⁠Testing

Goss checks the curl binary against the version the image was built for (CURL_VERSION), HTTPS with the bundled CA certificates and the UID. build.sh already fails if curl is not fully static.

docker build --build-arg VERSION=$(./get-version.sh) -t busycurl:test .
GOSS_FILE=goss.yaml dgoss run busycurl:test

Tag summary

Content type

Image

Digest

sha256:be2f5a467…

Size

3.7 MB

Last updated

1 day ago

docker pull tdeutsch/busycurl