Skip to content

Commit 5eed396

Browse files
authored
fix error on start-build-env.sh (#33401)
1 parent e9424b9 commit 5eed396

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

start-build-env.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ RUN echo "${USER_NAME} ALL=NOPASSWD: ALL" > "/etc/sudoers.d/beam-build-${USER_ID
9191
ENV HOME "${DOCKER_HOME_DIR}"
9292
ENV GOPATH ${DOCKER_HOME_DIR}/beam/sdks/go/examples/.gogradle/project_gopath
9393
# This next command still runs as root causing the ~/.cache/go-build to be owned by root
94-
RUN go get github.com/linkedin/goavro/v2
94+
RUN go mod init beam-build-${USER_ID} && go get github.com/linkedin/goavro/v2
9595
RUN chown -R ${USER_NAME}:${GROUP_ID} ${DOCKER_HOME_DIR}/.cache
9696
UserSpecificDocker
9797

0 commit comments

Comments
 (0)