A base image for Ubuntu-based Docker images.
This Vagrant vm helps me to manage:
- building s6
- building the smebberson/ubuntu-base image
Setup the vagrant machine by running vagrant up --provider=vmware_fusion
. This will get you a VM running a pretty basic version of Ubuntu with:
- Docker (latest at the time of build)
- installed packages
software-properties-common
,build-essential
- a
/build
directory - a
/packages
directory
The following describes the various scripts included in this repository to help build s6 and the docker image.
There are some scripts to help with this process. Once you're SSH'd into the machine:
cd /vagrant
- to build the musil static compiler,
./s6/musil-build
- to build the skalibs package,
./s6/skalibs-build
- to build the execline package,
./s6/execline-build
- and finally to build s6,
./s6/s6-build
There will be a new .tar.gz
file in /vagrant/dist/
containing statically compiled s6 binaries.