Update and rename the script for testing with docker
This commit is contained in:
parent
2b3034a42f
commit
b68beaab20
11
docker-test.sh
Executable file
11
docker-test.sh
Executable file
|
@ -0,0 +1,11 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
DOCKERFILE=.buildbot/tox-bionic/Dockerfile
|
||||||
|
|
||||||
|
docker build -t pybm/tox -f $DOCKERFILE .
|
||||||
|
|
||||||
|
if [ $? -gt 0 ]; then
|
||||||
|
docker build --no-cache -t pybm/tox -f $DOCKERFILE .
|
||||||
|
fi
|
||||||
|
|
||||||
|
docker run --rm -it pybm/tox
|
|
@ -1,13 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
DOCKERFILE=packages/docker/Dockerfile.bionic
|
|
||||||
|
|
||||||
# explicitly mark appimage stage because it builds in any case
|
|
||||||
docker build --target appimage -t pybm/appimage -f $DOCKERFILE .
|
|
||||||
|
|
||||||
if [ $? -gt 0 ]; then
|
|
||||||
docker build --no-cache --target appimage -t pybm/appimage -f $DOCKERFILE .
|
|
||||||
fi
|
|
||||||
|
|
||||||
docker build --target tox -t pybm/tox -f $DOCKERFILE .
|
|
||||||
docker run --rm -t pybm/tox
|
|
Reference in New Issue
Block a user