Merge pull request #16911 from mesosphere/sttts-fix-cluster-dns-images

Auto commit by PR queue bot
This commit is contained in:
k8s-merge-robot
2015-11-11 15:58:07 -08:00
6 changed files with 30 additions and 4 deletions

View File

@@ -15,7 +15,7 @@ spec:
spec: spec:
containers: containers:
- name: dns-backend - name: dns-backend
image: ddysher/dns-backend image: gcr.io/google_containers/example-dns-backend:v1
ports: ports:
- name: backend-port - name: backend-port
containerPort: 8000 containerPort: 8000

View File

@@ -7,7 +7,7 @@ metadata:
spec: spec:
containers: containers:
- name: dns-frontend - name: dns-frontend
image: ddysher/dns-frontend image: gcr.io/google_containers/example-dns-frontend:v1
command: command:
- python - python
- client.py - client.py

View File

@@ -1,4 +1,4 @@
FROM python:2.7 FROM python:2.7-slim
COPY . /dns-backend COPY . /dns-backend
WORKDIR /dns-backend WORKDIR /dns-backend

View File

@@ -0,0 +1,13 @@
TAG = v1
PREFIX = gcr.io/google_containers
IMAGE = example-dns-backend
all: push
image:
docker build -t $(PREFIX)/$(IMAGE):$(TAG) .
push: image
gcloud docker push $(PREFIX)/$(IMAGE)
clean:

View File

@@ -1,4 +1,4 @@
FROM python:2.7 FROM python:2.7-slim
RUN pip install requests RUN pip install requests

View File

@@ -0,0 +1,13 @@
TAG = v1
PREFIX = gcr.io/google_containers
IMAGE = example-dns-frontend
all: push
image:
docker build -t $(PREFIX)/$(IMAGE):$(TAG) .
push: image
gcloud docker push $(PREFIX)/$(IMAGE)
clean: