Backport changes from apptainer image rework

This commit is contained in:
Jack Yu 2023-05-18 15:55:05 -07:00
commit 4584f35f7b
3 changed files with 24 additions and 8 deletions

View file

@ -17,7 +17,7 @@ GID := $(shell id -g)
p4iab.tar.gz: .docker_build
"$(DOCKER)" save p4iab:latest | gzip > "$@"
p4iab.sif: p4iab.def p4iab.tar.gz
p4iab.sif: p4iab.def .docker_build
sudo "$(APPTAINER)" build "$@" "$<"
sudo chown $(UID):$(GID) "$@"