mingw-go/Dockerfile

14 lines
403 B
Docker
Raw Normal View History

2021-03-24 00:59:13 +00:00
FROM purplekarrot/mingw-w64-x86-64:latest
2024-01-02 23:24:24 +00:00
ENV GOLANG_VERSION=1.21.5
2021-03-24 00:59:13 +00:00
RUN apt-get update
2023-01-11 20:15:33 +00:00
RUN apt-get install -y --no-install-recommends wget git
2021-03-25 01:00:23 +00:00
RUN wget https://golang.org/dl/go$GOLANG_VERSION.linux-amd64.tar.gz
RUN tar -xzf go$GOLANG_VERSION.linux-amd64.tar.gz -C /usr/local/
2021-03-24 00:59:13 +00:00
RUN rm go$GOLANG_VERSION.linux-amd64.tar.gz
2021-03-25 01:00:23 +00:00
ENV GOROOT=/usr/local/go
ENV PATH=/usr/local/go/bin:$PATH
2021-03-25 00:43:36 +00:00
ENTRYPOINT /bin/bash