Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
kpeu3i committed Nov 19, 2017
0 parents commit 70027c1
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
FROM golang:1.9

MAINTAINER Andrey Bukatov <andrey.bukatov@gmail.com>

RUN dpkg --add-architecture armel && \
apt-get update && apt-get install -y --no-install-recommends \
linux-libc-dev-armel-cross \
libc6-armel-cross \
libc6-dev-armel-cross \
binutils-arm-linux-gnueabi \
libsdl1.2-dev:armel \
libsdl2-dev:armel \
gcc-arm-linux-gnueabi

ENV PKG_CONFIG_PATH /usr/lib/arm-linux-gnueabi/pkgconfig
ENV CC arm-linux-gnueabi-gcc
ENV GOOS linux
ENV GOARCH arm
ENV GOARM 7
ENV CGO_ENABLED 1
ENV CGO_LDFLAGS -L/usr/lib/arm-linux-gnueabi -lSDL2
ENV CGO_CFLAGS -I/usr/include/SDL2 -D_REENTRANT

0 comments on commit 70027c1

Please sign in to comment.