mingw-go/Dockerfile

14 lines
365 B
Docker
Raw Normal View History

2021-03-24 00:59:13 +00:00
FROM purplekarrot/mingw-w64-x86-64:latest
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 rm go$GOLANG_VERSION.linux-amd64.tar.gz
ENV GOROOT=/go
ENV PATH=/go/bin:$PATH
2021-03-25 00:43:36 +00:00
ENTRYPOINT /bin/bash