izapple2/dockerbuild/Dockerfile

16 lines
383 B
Docker
Raw Normal View History

FROM golang:1.12
2019-12-26 22:11:32 +00:00
LABEL MAINTAINER="Ivan Izaguirre <ivanizag@gmail.com>"
RUN apt-get update
RUN apt-get install -y libsdl2-dev mingw-w64
2019-12-26 22:11:32 +00:00
2020-10-04 12:14:44 +00:00
RUN wget https://www.libsdl.org/release/SDL2-devel-2.0.12-mingw.tar.gz
RUN tar -xzf SDL2-devel-2.0.12-mingw.tar.gz
RUN cp -r SDL2-2.0.12/x86_64-w64-mingw32 /usr
2019-12-26 22:11:32 +00:00
COPY buildindocker.sh .
RUN chmod +x buildindocker.sh
2019-12-26 22:11:32 +00:00
CMD ["./buildindocker.sh"]