mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 20:53:33 +00:00
Merge pull request #17200 from mikedanese/debian-iptables
Auto commit by PR queue bot
This commit is contained in:
commit
52ad097ebe
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