1
0
Fork 0

added persistent workspace for testing containers

This commit is contained in:
Christian Kühnel 2020-04-15 18:00:53 +02:00
parent b8dcbcb273
commit 651bf69a89
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View file

@ -3,3 +3,4 @@
*.iml
venv/
__pycache__/
containers/workspace

View file

@ -23,4 +23,4 @@ IMAGE_NAME="${1%/}"
cd "${DIR}/${IMAGE_NAME}"
docker build -t ${IMAGE_NAME} .
docker run -i -t -v ~/.llvm-premerge-checks:/credentials ${IMAGE_NAME} ${2}
docker run -i -t -v ~/.llvm-premerge-checks:/credentials -v ${DIR}/workspace:/workspace ${IMAGE_NAME} ${2}