This folder contains some scripts used to build and release a root filesystem to include in official HashiCorp base images. The contents of this can be fetched and merged into a container build in order to provide useful utilities:
- dumb-init, which makes it easy to configure child process reaping and gives us signal forwarding to all processes running under it
- gosu, which makes it less of a pain to switch to other users without introducing a
su
orsudo
intermediate process
Containers should tailor what they include depending on what they need.
Docker is required for building since compiling steps happen in containers.
./build.sh <version>
You can upload this release using hc-releases -upload pkg/dist/