Browse Source

Merge pull request #1482 from bfirsh/add-build-and-dist-to-dockerignore

Make it possible to run tests remotely
(cherry picked from commit c8e096e0895cb3589c4699daa44c299ea23f790c)

Signed-off-by: Aanand Prasad <[email protected]>
Aanand Prasad 10 năm trước cách đây
mục cha
commit
58a7844129
2 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 0
      .dockerignore
  2. 0 1
      script/test

+ 2 - 0
.dockerignore

@@ -1,2 +1,4 @@
 .git
+build
+dist
 venv

+ 0 - 1
script/test

@@ -9,7 +9,6 @@ docker build -t "$TAG" .
 docker run \
   --rm \
   --volume="/var/run/docker.sock:/var/run/docker.sock" \
-  --volume="$(pwd):/code" \
   -e DOCKER_VERSIONS \
   -e "TAG=$TAG" \
   -e "affinity:image==$TAG" \