Use $DIR instead of running pwd.
@@ -22,5 +22,5 @@ rm -rf tmp; mkdir tmp
cp -p ../dist/vespa.spec tmp/vespa.spec
docker build -t "$CI_DOCKER_IMAGE" -f Dockerfile.ci .
-docker run --rm -v $(pwd)/..:/vespa --entrypoint /vespa-ci-internal.sh "$CI_DOCKER_IMAGE" "$GIT_COMMIT" \
+docker run --rm -v ${DIR}/..:/vespa --entrypoint /vespa-ci-internal.sh "$CI_DOCKER_IMAGE" "$GIT_COMMIT" \
2>&1 | tee vespa-ci-$(date +%Y-%m-%dT%H:%M:%S%z).log
