Merge pull request #17200 from mikedanese/debian-iptables

Auto commit by PR queue bot
This commit is contained in:
k8s-merge-robot 2015-11-13 10:22:28 -08:00
commit 52ad097ebe
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