From 9416812385a6ac855e021b8ef5ba1734ca58ada3 Mon Sep 17 00:00:00 2001 From: Jessica Frazelle Date: Tue, 28 Jul 2015 01:36:22 -0700 Subject: [PATCH] shorewall and vault Signed-off-by: Jessica Frazelle --- shorewall/Dockerfile | 15 +++++++++++++++ vault/Dockerfile | 19 +++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 shorewall/Dockerfile create mode 100644 vault/Dockerfile diff --git a/shorewall/Dockerfile b/shorewall/Dockerfile new file mode 100644 index 0000000..689a328 --- /dev/null +++ b/shorewall/Dockerfile @@ -0,0 +1,15 @@ +# shorewall in a container +# +# docker run --rm -it \ +# --net host \ +# --cap-add NET_ADMIN \ +# jess/shorewall +# +FROM alpine:latest +MAINTAINER Jessica Frazelle + +RUN apk update && apk add \ + shorewall \ + && rm -rf /var/cache/apk/* + +CMD [ "shorewall" ] diff --git a/vault/Dockerfile b/vault/Dockerfile new file mode 100644 index 0000000..033be8f --- /dev/null +++ b/vault/Dockerfile @@ -0,0 +1,19 @@ +FROM alpine:latest +MAINTAINER Jessica Frazelle + +RUN apk update && apk add \ + ca-certificates \ + curl \ + && curl -sSL https://circle-artifacts.com/gh/andyshinn/alpine-pkg-glibc/6/artifacts/0/home/ubuntu/alpine-pkg-glibc/packages/x86_64/glibc-2.21-r2.apk -o /tmp/glibc-2.21-r2.apk \ + && apk add --allow-untrusted /tmp/glibc-2.21-r2.apk \ + && curl -sSL https://circle-artifacts.com/gh/andyshinn/alpine-pkg-glibc/6/artifacts/0/home/ubuntu/alpine-pkg-glibc/packages/x86_64/glibc-bin-2.21-r2.apk -o /tmp/glibc-bin-2.21-r2.apk \ + && apk add --allow-untrusted /tmp/glibc-bin-2.21-r2.apk \ + && rm -rf /tmp/glibc* \ + && rm -rf /var/cache/apk/* + +ENV CONSUL_VERSION 0.5.2 + +RUN curl -sSL https://jesss.s3.amazonaws.com/binaries/vault -o /bin/vault \ + && chmod +x /bin/vault + +ENTRYPOINT [ "/bin/vault" ]