A simple Dockerfile from alpine linux containing curl. Useful if you need to run scripts that require curl.
Builds can be found here: alstolten/alpine-with-curl
Once a day I run makerelease.sh to build if new alpine versions have been released. The latest build will be issued anyway.
Using docker buildx the script builds for all docker architectures.
Spin a container, run a curl command:
docker run --rm docker.io/alstolten/alpine-with-curl:latest curl --version
or, if needed, interactive:
docker run -it docker.io/alstolten/alpine-with-curl:latest sh
To run a Kubernetes pod interactively use:
kubectl run <podname> --image=docker.io/alstolten/alpine-with-curl:latest -it