Skip to content
This repository has been archived by the owner on Jun 6, 2023. It is now read-only.

curl/curl-docker

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
January 5, 2022 12:59
May 24, 2023 11:08
June 14, 2021 17:13
September 25, 2021 12:56
May 24, 2023 11:08
June 6, 2023 16:13

IMPORTANT - https://github.com/curl/curl-container supersedes this archived repository

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