Use /run and not the symlink /var/run

This commit is contained in:
Pierre Schmitz 2017-04-23 20:09:29 +02:00 committed by GitHub
parent a4aeaa2eb2
commit aa8caba05a

View file

@ -22,7 +22,7 @@ docker-image-test: docker-image
! docker run --rm $(DOCKER_USER)/$(DOCKER_IMAGE) pacman-key --lsign-key pierre@archlinux.de ! docker run --rm $(DOCKER_USER)/$(DOCKER_IMAGE) pacman-key --lsign-key pierre@archlinux.de
ci-test: ci-test:
docker run --rm --privileged --tmpfs=/tmp:exec --tmpfs=/run/shm -v /var/run/docker.sock:/var/run/docker.sock \ docker run --rm --privileged --tmpfs=/tmp:exec --tmpfs=/run/shm -v /run/docker.sock:/run/docker.sock \
-v $(PWD):/app -w /app $(DOCKER_USER)/$(DOCKER_IMAGE) \ -v $(PWD):/app -w /app $(DOCKER_USER)/$(DOCKER_IMAGE) \
sh -c 'pacman -Syu --noconfirm make devtools docker && make docker-image-test' sh -c 'pacman -Syu --noconfirm make devtools docker && make docker-image-test'