This is a template repository for setting up an working evironment. I use this for my own needs, but you can fork and modify it accurding your needs. As I switched to run everything on ubuntu (private and business), you find the real exampes inside the ubuntu directory.
Before you can continue, we need git
and a small first udate of everything.
sudo apt-get update -y && sudo apt-get install -y git && ssh-keyscan -H github.com >> ~/.ssh/known_hosts
cd && git clone git@github.com:dariusgm/install.git && cd install/ubuntu && ./install.sh
git config --global user.email me@example.com
git config --global user.name "Example Me"
git config pull.rebase true
I implemented a python scrit that inject all different bash scripts together. Otherwise your docker cache would be invalid at the time, making debugging in the CI build very time consuming.
python3 build-docker.py
docker build -t ubuntu-test -f ubuntu.Dockerfile .