feat(install): Do distro specific setup before installing os-packages

This commit is contained in:
Pratik Tripathy
2024-09-11 22:56:50 +05:30
parent b52a3f1863
commit e254d8dba1
7 changed files with 41 additions and 141 deletions

View File

@@ -2,10 +2,10 @@
# Prune, build and run docker
main() {
cd .. # change docker build context to 1 directory up
cd ../.. # change docker context to dotfile repo
docker container prune -f && echo "Removed old Docker containers"
docker build -t dotfile-install-test:latest -f test/Dockerfile . && echo "Docker build success"
docker run -it dotfile-install-test:latest
docker build -t dotfile-setup:latest -f scripts/test/Dockerfile . && echo "Docker build success"
docker run -it dotfile-setup:latest
}
main "$@"