j4m3s-s / curl-docker

official docker image for curl

Home Page:https://curl.se

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Curl Docker Images 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

Contact

If you have problems, questions, ideas or suggestions, please contact curl-docker team or Jim Fuller directly.

Using Images

get docker image

$ docker pull curlimages/curl:...insert tag...

run docker image

$ docker run -it curlimages/curl:...insert tag... --version

building and testing images

To build and test curl docker image

$ make all

which runs the setup (clean), build and test targets.

scanning images

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

Image design

  • 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

Other

  • thanks to contributors
    • Daniel Stenberg
    • Max Dymond
    • Olliver Schinagl

About

official docker image for curl

https://curl.se

License:Other


Languages

Language:Makefile 48.5%Language:Dockerfile 38.6%Language:Shell 12.9%