move go to /usr/local/go
This commit is contained in:
parent
62aaf64330
commit
1cbd875f23
|
@ -4,10 +4,10 @@ ENV GOLANG_VERSION=1.15.10
|
||||||
|
|
||||||
RUN apt-get update
|
RUN apt-get update
|
||||||
RUN apt-get install -y --no-install-recommends wget
|
RUN apt-get install -y --no-install-recommends wget
|
||||||
RUN wget https://golang.org/dl/go$GOLANG_VERSION.linux-amd64.tar.gz
|
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
|
RUN rm go$GOLANG_VERSION.linux-amd64.tar.gz
|
||||||
ENV GOROOT=/go
|
ENV GOROOT=/usr/local/go
|
||||||
ENV PATH=/go/bin:$PATH
|
ENV PATH=/usr/local/go/bin:$PATH
|
||||||
|
|
||||||
ENTRYPOINT /bin/bash
|
ENTRYPOINT /bin/bash
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
# mingw-go
|
# 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