A slimmed-down Debian-based container image used as the basis of Drycc Workflow and other components.
Start your Dockerfile with this line:
FROM registry.drycc.cc/drycc/base:codename
There isn't a :latest
tag, because each debian version is a tag.
This base image supports drycc stack installation, its usage is:
install-stack postgresql 14.1
All stacks currently supported by drycc are in the stacks project. You can view and use them.
These images also include an install-packages
command that you can use instead of apt. This takes care of some things for you:
- Install the named packages, skipping prompts etc.
- Clean up the apt metadata afterwards to keep the image small.
- Retrying if apt fails. Sometimes a package will fail to download due to a network issue, and this may fix that, which is particularly useful in an automated build pipeline.
For example:
$ install-packages apache2 memcached