Skip to content

Commit

Permalink
Fix run_envoy_docker.sh 'do_ci.sh ' does not work behind proxy (#3956)
Browse files Browse the repository at this point in the history
Signed-off-by: 张可10140699 <zhang.ke106@zte.com.cn>
  • Loading branch information
249043822 authored and mattklein123 committed Jul 26, 2018
1 parent 9b64f4b commit 5beff99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci/run_envoy_docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ USER_GROUP=root

mkdir -p "${ENVOY_DOCKER_BUILD_DIR}"
# Since we specify an explicit hash, docker-run will pull from the remote repo if missing.
docker run --rm -t -i -e http_proxy=${http_proxy} -e https_proxy=${https_proxy} \
docker run --rm -t -i -e HTTP_PROXY=${http_proxy} -e HTTPS_PROXY=${https_proxy} \
-u "${USER}":"${USER_GROUP}" -v "${ENVOY_DOCKER_BUILD_DIR}":/build \
-v "$PWD":/source -e NUM_CPUS --cap-add SYS_PTRACE "${IMAGE_NAME}":"${IMAGE_ID}" \
/bin/bash -lc "groupadd --gid $(id -g) -f envoygroup && useradd -o --uid $(id -u) --gid $(id -g) \
Expand Down

0 comments on commit 5beff99

Please sign in to comment.