Minor refactor to simplify signal handler
[tetris.git] / Dockerfile
blobb0b115d8c4e21ac50fab6e949045cb3b89f5ab61
1 FROM alpine:3.5
3 RUN apk add --no-cache gcc musl-dev make; mkdir /var/games
5 # Install from GIT
6 WORKDIR .
7 ADD . /tetris
8 RUN cd tetris/; DESTDIR=/usr make all install
10 # Alternatively, install from released tarball
11 #RUN wget http://ftp.troglobit.com/tetris/tetris-1.2.1.tar.bz2; \
12 #    tar xfj tetris-1.2.1.tar.bz2; \
13 #    cd tetris-1.2.1/;            \
14 #    DESTDIR=/usr make all install
16 CMD tetris