Based on the very well designed phusion/baseimage-docker.
Each time building this image, an Ubuntu distribution upgrade is performed to apply the latest security patches.
Directly:
docker pull quay.io/hellofresh/hf-baseimage
As a base image as part of the Dockerfile:
FROM quay.io/hellofresh/hf-baseimage
Do not forget to add the following two instructions to your Dockerfile which uses this image as base:
# Your instructions ...
# Cleanup APT.
RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
# Use baseimage-docker's init system.
# Reference: https://github.com/phusion/baseimage-docker#using-baseimage-docker-as-base-image
# *** NOTE ***
# This requires an *executable* 'run' script which has to be copied to '/etc/service/<YOUR-SERVICE>/run'
# At container startup time this 'run' script will be picked up by the runit supervise service which is
# already part of phusion/baseimage-docker.
CMD ["/sbin/my_init"]
- Add
ONBUILDtrigger instructions for more specialised HF images - Add base tests.
- ...