add wargames

Signed-off-by: Jess Frazelle <jess@mesosphere.com>
This commit is contained in:
Jess Frazelle 2016-04-18 22:32:51 -07:00
parent 98d2177812
commit 465714b40f
No known key found for this signature in database
GPG Key ID: 18F3685C0022BFF3
2 changed files with 25 additions and 1 deletions

View File

@ -11,7 +11,7 @@ FROM scratch
ENV container=docker
ADD coreos-766.5.0.tar.xz /
#ADD coreos-766.5.0.tar.xz /
COPY ./certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
RUN ( \

24
wargames/Dockerfile Normal file
View File

@ -0,0 +1,24 @@
FROM alpine:latest
MAINTAINER Jessica Frazelle <jess@docker.com>
RUN apk update && apk add \
ncurses \
&& rm -rf /var/cache/apk/*
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" ]