Small changes to Docker command and .gitignore (#309)

* Add --rm to docker command to cleanup containers

* Add .DS_Store to .gitignore for Mac users

* Wrong docker command
This commit is contained in:
Anthony Atkinson
2023-12-18 06:37:21 -05:00
committed by GitHub
parent 99031a72df
commit 9b529622cd
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@@ -1,3 +1,4 @@
.DS_Store
*.xbb
*.aux
*.fdb_latexmk

View File

@@ -1,7 +1,7 @@
.DEFAULT_GOAL := build_pdf
DOCKER_IMAGE := ghcr.io/hendricius/the-sourdough-framework
DOCKER_CMD := docker run -it -v $(PWD):/opt/repo --platform linux/x86_64 $(DOCKER_IMAGE) /bin/bash -c
DOCKER_CMD := docker run --rm -it -v $(PWD):/opt/repo --platform linux/x86_64 $(DOCKER_IMAGE) /bin/bash -c
.PHONY: bake build_pdf build_docker_image push_docker_image validate website
.PHONY: print_os_version start_shell printvars show_tools_version mrproper