[go: nahoru, domu]

Skip to content

Commit

Permalink
use --add-host for 127.0.0.1.xip.io (amends h2o#1551 h2o#1553)
Browse files Browse the repository at this point in the history
  • Loading branch information
kazuho committed Dec 20, 2017
1 parent 7c477a6 commit e04026a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions misc/docker-ci/check.mk
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@ SRC_DIR=/h2o
CHECK_MK=$(SRC_DIR)/misc/docker-ci/check.mk
CMAKE_ARGS=
FUZZ_ASAN=ASAN_OPTIONS=detect_leaks=0
DOCKER_RUN_OPTS=-v `pwd`:$(SRC_DIR) --add-host=127.0.0.1.xip.io:127.0.0.1

ALL:
docker run -v `pwd`:$(SRC_DIR) $(CONTAINER_NAME) make -f /h2o/misc/docker-ci/check.mk _check
docker run $(DOCKER_RUN_OPTS) $(CONTAINER_NAME) make -f /h2o/misc/docker-ci/check.mk _check

fuzz:
docker run -v `pwd`:$(SRC_DIR) $(CONTAINER_NAME) make -f /h2o/misc/docker-ci/check.mk _fuzz
docker run $(DOCKER_RUN_OPTS) $(CONTAINER_NAME) make -f /h2o/misc/docker-ci/check.mk _fuzz

_check:
mkdir -p build
Expand Down

0 comments on commit e04026a

Please sign in to comment.