added persistent workspace for testing containers
This commit is contained in:
parent
b8dcbcb273
commit
651bf69a89
2 changed files with 2 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -3,3 +3,4 @@
|
||||||
*.iml
|
*.iml
|
||||||
venv/
|
venv/
|
||||||
__pycache__/
|
__pycache__/
|
||||||
|
containers/workspace
|
||||||
|
|
|
@ -23,4 +23,4 @@ IMAGE_NAME="${1%/}"
|
||||||
|
|
||||||
cd "${DIR}/${IMAGE_NAME}"
|
cd "${DIR}/${IMAGE_NAME}"
|
||||||
docker build -t ${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}
|
||||||
|
|
Loading…
Add table
Reference in a new issue