izapple2/dockerbuild/Dockerfile

19 lines
510 B
Docker
Raw Normal View History

2022-04-18 14:10:25 +00:00
FROM golang:1.18.0
2019-12-26 22:11:32 +00:00
LABEL MAINTAINER="Ivan Izaguirre <ivanizag@gmail.com>"
RUN apt-get update
2020-10-04 13:45:23 +00:00
RUN apt-get install -y libsdl2-dev mingw-w64 unzip
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
2020-10-04 13:45:23 +00:00
RUN wget https://www.libsdl.org/release/SDL2-2.0.12-win32-x64.zip
RUN unzip SDL2-2.0.12-win32-x64.zip -d /sdl2runtime
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"]