Created
December 10, 2019 10:06
-
-
Save ilyar/c82619de76b48de0f4da5ae2ef4d2ae9 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| FROM golang:1.12 | |
| RUN apt-get update && \ | |
| apt-get install -y libc6-dev libglu1-mesa-dev libgl1-mesa-dev libxrandr-dev libxcursor-dev libxinerama-dev libxi-dev libasound2-dev | |
| RUN go get github.com/hajimehoshi/ebiten/... | |
| RUN go version ;\ | |
| go env ;\ | |
| cd $(go env GOPATH)/src/github.com/hajimehoshi/ebiten ;\ | |
| go build -ldflags '-linkmode external -extldflags -static' -tags=example ./examples/life | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment