Skip to content

Instantly share code, notes, and snippets.

@ilyar
Created December 10, 2019 10:06
Show Gist options
  • Select an option

  • Save ilyar/c82619de76b48de0f4da5ae2ef4d2ae9 to your computer and use it in GitHub Desktop.

Select an option

Save ilyar/c82619de76b48de0f4da5ae2ef4d2ae9 to your computer and use it in GitHub Desktop.
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