Skip to content

Commit

Permalink
fix error on start-build-env.sh (#33401)
Browse files Browse the repository at this point in the history
  • Loading branch information
marblejenka authored Dec 18, 2024
1 parent e9424b9 commit 5eed396
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion start-build-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 5eed396

Please sign in to comment.