mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
add debian iptables image
This commit is contained in:
parent
54e6db0896
commit
28411be155
7
build/debian-iptables/Dockerfile
Normal file
7
build/debian-iptables/Dockerfile
Normal 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
|
12
build/debian-iptables/Makefile
Normal file
12
build/debian-iptables/Makefile
Normal 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
|
Loading…
Reference in New Issue
Block a user