mirror of
https://github.com/pratiktri/dotfiles.git
synced 2026-02-04 16:41:43 +05:30
feat(install): Do distro specific setup before installing os-packages
This commit is contained in:
@@ -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 "$@"
|
||||
|
||||
Reference in New Issue
Block a user