mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-23 11:31:49 +01:00
add wargames
Signed-off-by: Jess Frazelle <jess@mesosphere.com>
This commit is contained in:
parent
98d2177812
commit
465714b40f
|
@ -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
24
wargames/Dockerfile
Normal 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" ]
|
Loading…
Reference in New Issue
Block a user