Provide a CircleCI base alpine image with all standard tools installed

Status Quo

We're using any of the fat-images (e.g. circleci/php:7.1-node-browsers) to run small jobs like building a docker container. These images take a long time to start up (download, extract, start).

Goal

Provide an alpine base images with all the tools installed as described in the CircleCI documentation (e.g. docker). This will

  • Reduce start time
  • Reduce strain on CircleCI infrastructure
  • Enrico Stahn
  • Apr 10 2018
  • Taking votes
  • Attach files
  • Guest commented
    August 07, 2018 23:23

    @Han Hui: You can use your any image that exists on Docker Hub too, that's how I use custom alpine-based images for my builds.

  • Han Hui Teoh commented
    May 14, 2018 10:50

    It'd be best if we don't have to use any pre-built images provided by CircleCI. (And it removes that burden from the CircleCI team as well.) We'd very much like to use our own images. If it's possible, there needs to be better documentation on how it could be achieved.

  • Admin
    Alexey Klochay commented
    April 18, 2018 10:01

    Thanks for your suggestion Encrico. Right now we provide this reasonably small Debian-based image (~270MB) with just the basic tools: https://hub.docker.com/r/circleci/buildpack-deps/tags/. Would the set of tools in that image be sufficient for your use case? Thanks!