mirror of
https://github.com/pratiktri/dotfiles.git
synced 2026-02-05 00:41:44 +05:30
12 lines
327 B
Bash
Executable File
12 lines
327 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Prune, build and run docker
|
|
main() {
|
|
cd ../.. # change docker context to dotfile repo
|
|
docker container prune -f && echo "Removed old Docker containers"
|
|
docker build -t dotfile-setup:latest -f scripts/test/Dockerfile . && echo "Docker build success"
|
|
docker run -it dotfile-setup:latest
|
|
}
|
|
|
|
main "$@"
|