mirror of https://github.com/docker/docs.git
Merge pull request #1482 from bfirsh/add-build-and-dist-to-dockerignore
Make it possible to run tests remotely
(cherry picked from commit c8e096e089)
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
This commit is contained in:
parent
4353f7b9f9
commit
58a7844129
|
|
@ -1,2 +1,4 @@
|
||||||
.git
|
.git
|
||||||
|
build
|
||||||
|
dist
|
||||||
venv
|
venv
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,6 @@ docker build -t "$TAG" .
|
||||||
docker run \
|
docker run \
|
||||||
--rm \
|
--rm \
|
||||||
--volume="/var/run/docker.sock:/var/run/docker.sock" \
|
--volume="/var/run/docker.sock:/var/run/docker.sock" \
|
||||||
--volume="$(pwd):/code" \
|
|
||||||
-e DOCKER_VERSIONS \
|
-e DOCKER_VERSIONS \
|
||||||
-e "TAG=$TAG" \
|
-e "TAG=$TAG" \
|
||||||
-e "affinity:image==$TAG" \
|
-e "affinity:image==$TAG" \
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue