14 lines
403 B
Docker
14 lines
403 B
Docker
FROM purplekarrot/mingw-w64-x86-64:latest
|
|
|
|
ENV GOLANG_VERSION=1.21.5
|
|
|
|
RUN apt-get update
|
|
RUN apt-get install -y --no-install-recommends wget git
|
|
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/
|
|
RUN rm go$GOLANG_VERSION.linux-amd64.tar.gz
|
|
ENV GOROOT=/usr/local/go
|
|
ENV PATH=/usr/local/go/bin:$PATH
|
|
|
|
ENTRYPOINT /bin/bash
|