This is an automated email from the ASF dual-hosted git repository.

tvalentyn pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/master by this push:
     new 5eed396caf9 fix error on start-build-env.sh (#33401)
5eed396caf9 is described below

commit 5eed396caf9e0065d8ed82edcc236bad5b71ba22
Author: Shingo Furuyama <[email protected]>
AuthorDate: Thu Dec 19 03:56:19 2024 +0900

    fix error on start-build-env.sh (#33401)
---
 start-build-env.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/start-build-env.sh b/start-build-env.sh
index b788146eb98..0f23f32a269 100755
--- a/start-build-env.sh
+++ b/start-build-env.sh
@@ -91,7 +91,7 @@ RUN echo "${USER_NAME} ALL=NOPASSWD: ALL" > 
"/etc/sudoers.d/beam-build-${USER_ID
 ENV HOME "${DOCKER_HOME_DIR}"
 ENV GOPATH ${DOCKER_HOME_DIR}/beam/sdks/go/examples/.gogradle/project_gopath
 # This next command still runs as root causing the ~/.cache/go-build to be 
owned by root
-RUN go get github.com/linkedin/goavro/v2
+RUN go mod init beam-build-${USER_ID} && go get github.com/linkedin/goavro/v2
 RUN chown -R ${USER_NAME}:${GROUP_ID} ${DOCKER_HOME_DIR}/.cache
 UserSpecificDocker
 

Reply via email to