From f6ad36907353b146eb67b50aedd47139d0197d2f Mon Sep 17 00:00:00 2001 From: deannagarcia <69992229+deannagarcia@users.noreply.github.com> Date: Mon, 3 Oct 2022 10:22:52 -0700 Subject: [PATCH] Update build-protoc.sh Move the relative workspace to mount the docker image on to build protoc. --- kokoro/release/protoc/build-protoc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kokoro/release/protoc/build-protoc.sh b/kokoro/release/protoc/build-protoc.sh index d304d5f419..c0785eee4a 100755 --- a/kokoro/release/protoc/build-protoc.sh +++ b/kokoro/release/protoc/build-protoc.sh @@ -233,7 +233,7 @@ TARGET_FILE="target/$OS/$ARCH/$BAZEL_TARGET.exe" DOCKER_IMAGE=gcr.io/protobuf-build/bazel/linux@sha256:2bfd061284eff8234f2fcca16d71d43c69ccf3a22206628b54c204a6a9aac277 tmpfile=$(mktemp -u) && -docker run --cidfile $tmpfile -v $WORKING_DIR/..:/workspace $DOCKER_IMAGE \ +docker run --cidfile $tmpfile -v $WORKING_DIR/../../..:/workspace $DOCKER_IMAGE \ build //:$BAZEL_TARGET "${BAZEL_ARGS[@]}" && mkdir -p $(dirname $TARGET_FILE) && docker cp \