MichaelCurrin / os-genesis

Tool to automate management of system packages on Linux
https://michaelcurrin.github.io/os-genesis/
MIT License
0 stars 0 forks source link

Add docker flow for local testing #2

Open MichaelCurrin opened 4 years ago

MichaelCurrin commented 4 years ago

Use my docker quickstart repo

Add dockerfile and readme

Copy folder of scripts and makefile/gen with run all step reserved for testing or adventurous setup

Run scripts - use makefile command or all.sh to run all commands

Then make sure error message is clear and abort Note that version audit script is okay. A exit 0 or return might help at the end of that script

MichaelCurrin commented 4 years ago

This could be done on github actions but it's easier and faster to debug locally

Also it can be expensive to run the remote build regularly. Esp if it doesn't cache anything

Also not that either way the apt update can take a while and make upgrade too and maybe a minimal setup without running upgrade is clearer. I can even find a barer container so it is lighter in size and time. Unless it lacks the stuff that is actually needed