Skip to content

Commit

Permalink
Revert: Remove unneeded GOPATH and GOROOT variables
Browse files Browse the repository at this point in the history
  • Loading branch information
echoix committed Feb 18, 2023
1 parent 91a19c7 commit 2f6ca9f
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -132,12 +132,15 @@ RUN apk add --update --no-cache \
&& git config --global core.autocrlf true
#APK__END

# PATH for python
# ENV # PYTHONPYCACHEPREFIX="$HOME/.cache/cpython/" NV: not working for all packages :/
# PATH for golang & python
ENV GOROOT=/usr/lib/go \
GOPATH=/go
# PYTHONPYCACHEPREFIX="$HOME/.cache/cpython/" NV: not working for all packages :/
# hadolint ignore=DL3044
# ENV PATH="$PATH"
# Ignore npm package issues
RUN yarn config set ignore-engines true || true
ENV PATH="$PATH":"$GOROOT"/bin:"$GOPATH"/bin
RUN mkdir -p ${GOPATH}/src ${GOPATH}/bin || true && \
# Ignore npm package issues
yarn config set ignore-engines true || true

#############################################################################################
## @generated by .automation/build.py using descriptor files, please do not update manually ##
Expand Down

0 comments on commit 2f6ca9f

Please sign in to comment.