Files
dotfiles/scripts/test/run-test.sh
Pratik Tripathy eb9b6b5ab3 feat(install-script): apt: use extrepo
- Instead of manually adding gpg files or using `add-apt-repository` for
  common applications use `extrepo`
- package-list-os: Add: foliate, ghostscript, imagemagick, kitty, xsel
- package-list-os: Remove: smplayer
- test-script: use `podman` instead of `docker`
- Dockerfile: Remove older OSes
2025-08-25 18:46:42 +05:30

12 lines
327 B
Bash
Executable File

#!/bin/sh
# Prune, build and run docker
main() {
cd ../.. # change docker context to dotfile repo
podman container prune -f && echo "Removed old Docker containers"
podman build -t dotfile-setup:latest -f scripts/test/Dockerfile . && echo "Docker build success"
podman run -it dotfile-setup:latest
}
main "$@"