This is ubuntu base docker image (version 22.04) using s6-overlay.
Ubuntu-s6 is self-hosting at https://chiselapp.com/user/oupfiz5/repository/ubuntu-s6.
If you are reading this on GitHub, then you are looking at a Git mirror of the self-hosting Ubuntu-s6 repository. The purpose of that mirror is to test and exercise Fossil's ability to export a Git mirror and using Github CI/CD (Github Actions). Nobody much uses the GitHub mirror, except to verify that the mirror logic works. If you want to know more about Ubuntu-s6, visit the official self-hosting site linked above.
- *nix operation system
- Install Docker
- Install git (optional)
- Install fossil (optional)
They are using for testing and scanning:
- Bats
- Shellcheck
- Hadolynt
- Dockle
- Snyk - not necessarily
- Trivy - not necessarily
docker pull oupfiz5/ubuntu-s6:22.04-3.1.4.2
fossil clone https://chiselapp.com/user/oupfiz5/repository/ubuntu-s6 ubuntu-s6.fossil
mkdir ubuntu-s6
cd ubuntu-s6
fossil open ../ubuntu-s6.fossil
docker build -t oupfiz5/ubuntu-s6 .
git clone https://github.com/oupfiz5/ubuntu-s6.git
cd ubuntu-s6
docker build -t oupfiz5/ubuntu-s6 .
Option | Default | Description |
---|---|---|
TZ | UTC | Set timezone, example Europe/Moscow |
Set the timezone for the container, defaults to UTC. To set the timezone set the desired timezone with the variable TZ.
docker run -itd --restart always \
--name ubuntu-s6 \
--env 'TZ=Europe/Moscow' \
oupfiz5/ubuntu-s6:22.04-3.1.4.2
For build and push docker images we use Github Actions workflow. Flow process is GitHub flow.
For debugging and maintenance purposes you may want access the output log. If you are using Docker version 1.3.0 or higher you can access a running containers shell by starting bash using docker interactive:
docker run -it --rm \
--name=ubuntu-s6 \
oupfiz5/ubuntu-s6:22.04-3.1.4.2
For debugging and maintenance purposes you may want access the containers shell. If you are using Docker version 1.3.0 or higher you can access a running containers shell by starting bash using docker exec:
docker exec -it ubuntu-s6 /bin/bash