Skip to content
This repository was archived by the owner on Sep 6, 2025. It is now read-only.
/ hf-baseimage Public archive

Docker base image for production workloads tailored for HF usage.

License

Notifications You must be signed in to change notification settings

hellofresh/hf-baseimage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hf-baseimage

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.

To use the image:

Directly:

docker pull quay.io/hellofresh/hf-baseimage

As a base image as part of the Dockerfile:

FROM quay.io/hellofresh/hf-baseimage
Important Usage Note:

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"]

More specialised images which make use of hf-baseimage

TODO

  • Add ONBUILD trigger instructions for more specialised HF images
  • Add base tests.
  • ...

About

Docker base image for production workloads tailored for HF usage.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5