Skip to content

Commit

Permalink
add debian iptables image
Browse files Browse the repository at this point in the history
  • Loading branch information
mikedanese committed Nov 13, 2015
1 parent 54e6db0 commit 28411be
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
7 changes: 7 additions & 0 deletions build/debian-iptables/Dockerfile
Original file line number Diff line number Diff line change
@@ -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
12 changes: 12 additions & 0 deletions build/debian-iptables/Makefile
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 28411be

Please sign in to comment.