-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use golang 1.12 docker official image for builds
- Loading branch information
Showing
2 changed files
with
14 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
FROM circleci/golang:1.12 | ||
FROM golang:1.12 | ||
|
||
LABEL MAINTAINER="Ivan Izaguirre <[email protected]>" | ||
|
||
RUN sudo apt-get update | ||
RUN sudo apt-get install -y libsdl2-dev mingw-w64 | ||
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 sudo tar -xzf SDL2-devel-2.0.9-mingw.tar.gz | ||
RUN sudo cp -r SDL2-2.0.9/x86_64-w64-mingw32 /usr | ||
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 sudo chmod +x buildindocker.sh | ||
RUN chmod +x buildindocker.sh | ||
|
||
CMD ["./buildindocker.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters