mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-30 05:18:11 +01:00
c4ff0cf58c
Signed-off-by: Jess Frazelle <me@jessfraz.com>
24 lines
426 B
Docker
24 lines
426 B
Docker
FROM alpine:latest
|
|
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" ]
|