Add an nginx docker image for use on the master.

This commit is contained in:
Brendan Burns
2015-04-01 15:58:46 -07:00
parent 4adc20e933
commit 9f48a2f4e6
6 changed files with 109 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
FROM google/debian:wheezy
COPY backports.list /etc/apt/sources.list.d/backports.list
RUN apt-get update
RUN apt-get -t wheezy-backports -yy -q install nginx

View File

@@ -0,0 +1,14 @@
### Nginx image
# This image is used to run nginx on the master.
# Current 'live' version is v1
# Please make sure that you update this comment if you build/push new
# versions.
VERSION=v2
all:
docker build -t gcr.io/google_containers/nginx:${VERSION} .
gcloud preview docker push gcr.io/google_containers/nginx:${VERSION}
.PHONY: all

View File

@@ -0,0 +1,7 @@
### Nginx image
This image is used to run nginx on the master.
#### Instructions
make

View File

@@ -0,0 +1 @@
deb http://gce_debian_mirror.storage.googleapis.com wheezy-backports main non-free