IMPORTANT - https://github.com/curl/curl-container supersedes this archived repository
This repository defines the official curl docker image.
which are published to hub.docker.com.
note - requires latest docker to be installed and available
If you have problems, questions, ideas or suggestions, please contact curl-docker team or Jim Fuller directly.
$ docker pull curlimages/curl:...insert tag...
$ docker run -it curlimages/curl:...insert tag... --version
To build and test curl docker image
$ make all
which runs the setup (clean), build and test targets.
Security scan of resultant docker image
$ make scan
which uses trivis, anchore-engine, lynis and clamav.
One can also run a lint checker on dockerfiles
$ make lint
- initial stage, build curl and then copy over to clean base image
- build static curl
- attempt to be idiomatic across image(s)
- running as curl_user is an explicit design decision
- multi arch is achieved using buildx support
- thanks to contributors
- Daniel Stenberg
- Max Dymond
- Olliver Schinagl