move go to /usr/local/go
This commit is contained in:
parent
62aaf64330
commit
1cbd875f23
|
@ -5,9 +5,9 @@ ENV GOLANG_VERSION=1.15.10
|
|||
RUN apt-get update
|
||||
RUN apt-get install -y --no-install-recommends wget
|
||||
RUN wget https://golang.org/dl/go$GOLANG_VERSION.linux-amd64.tar.gz
|
||||
RUN tar -xzf go$GOLANG_VERSION.linux-amd64.tar.gz
|
||||
RUN tar -xzf go$GOLANG_VERSION.linux-amd64.tar.gz -C /usr/local/
|
||||
RUN rm go$GOLANG_VERSION.linux-amd64.tar.gz
|
||||
ENV GOROOT=/go
|
||||
ENV PATH=/go/bin:$PATH
|
||||
ENV GOROOT=/usr/local/go
|
||||
ENV PATH=/usr/local/go/bin:$PATH
|
||||
|
||||
ENTRYPOINT /bin/bash
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
# mingw-go
|
||||
|
||||
This container is based on [purplekarrot/mingw-w64-x86-64](https://hub.docker.com/r/purplekarrot/mingw-w64-x86-64) and then has Go 1.15.10 installed in /go
|
||||
This container is based on [purplekarrot/mingw-w64-x86-64](https://hub.docker.com/r/purplekarrot/mingw-w64-x86-64) and then has Go 1.15.10 installed in /usr/local/go
|
||||
|
|
Loading…
Reference in New Issue