add debian iptables image

This commit is contained in:
Mike Danese 2015-11-12 17:45:34 -08:00
parent 54e6db0896
commit 28411be155
2 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,7 @@
FROM debian
# All apt-get's must be in one run command or the
# cleanup has no effect.
RUN apt-get update && \
apt-get install -y iptables && \
ls /var/lib/apt/lists/*debian* | xargs rm

View File

@ -0,0 +1,12 @@
.PHONY: build push
IMAGE = debian-iptables
TAG = v1
build:
docker build -t beta.gcr.io/google_containers/$(IMAGE):$(TAG) .
push: build
gcloud docker --server=beta.gcr.io push beta.gcr.io/google_containers/$(IMAGE):$(TAG)
all: push