dockerfiles/wargames/Dockerfile
Michael 7eea00edf3 Replaced deprecated MAINTAINER with LABEL (#242)
Signed-off-by: Michael Käufl <dockerfiles@c.michael-kaeufl.de>
2017-03-09 10:14:37 -08:00

24 lines
434 B
Docker

FROM alpine:latest
LABEL maintainer "Jessie Frazelle <jess@linux.com>"
RUN apk --no-cache add \
ncurses
RUN set -x \
&& apk add --no-cache --virtual .build-deps \
ca-certificates \
gcc \
git \
libc-dev \
make \
&& git clone --depth 1 https://github.com/abs0/wargames.git /tmp/wargames \
&& ( \
cd /tmp/wargames \
&& make \
&& make install \
) \
&& rm -rf /tmp/wargames \
&& apk del .build-deps
CMD [ "wargames" ]