mirror of
https://github.com/ivanizag/izapple2.git
synced 2024-12-22 09:30:19 +00:00
16 lines
380 B
Docker
16 lines
380 B
Docker
FROM golang:1.12
|
|
|
|
LABEL MAINTAINER="Ivan Izaguirre <ivanizag@gmail.com>"
|
|
|
|
RUN apt-get update
|
|
RUN apt-get install -y libsdl2-dev mingw-w64
|
|
|
|
RUN wget https://www.libsdl.org/release/SDL2-devel-2.0.9-mingw.tar.gz
|
|
RUN tar -xzf SDL2-devel-2.0.9-mingw.tar.gz
|
|
RUN cp -r SDL2-2.0.9/x86_64-w64-mingw32 /usr
|
|
|
|
COPY buildindocker.sh .
|
|
RUN chmod +x buildindocker.sh
|
|
|
|
CMD ["./buildindocker.sh"]
|