Run test containers in TTY mode
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
This commit is contained in:
parent
9c6c50c607
commit
e8756905ba
1 changed files with 2 additions and 0 deletions
|
|
@ -6,6 +6,7 @@ set -e
|
|||
|
||||
>&2 echo "Running lint checks"
|
||||
docker run --rm \
|
||||
--tty \
|
||||
${GIT_VOLUME} \
|
||||
--entrypoint="tox" \
|
||||
"$TAG" -e pre-commit
|
||||
|
|
@ -51,6 +52,7 @@ for version in $DOCKER_VERSIONS; do
|
|||
|
||||
docker run \
|
||||
--rm \
|
||||
--tty \
|
||||
--link="$daemon_container:docker" \
|
||||
--env="DOCKER_HOST=tcp://docker:2375" \
|
||||
--env="DOCKER_VERSION=$version" \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue