diff --git a/coreos/Dockerfile b/coreos/Dockerfile index 054d656..93908a8 100644 --- a/coreos/Dockerfile +++ b/coreos/Dockerfile @@ -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 ( \ diff --git a/wargames/Dockerfile b/wargames/Dockerfile new file mode 100644 index 0000000..8810a3c --- /dev/null +++ b/wargames/Dockerfile @@ -0,0 +1,24 @@ +FROM alpine:latest +MAINTAINER Jessica Frazelle + +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" ]