1. Christopher De Vries
  2. docker-nginx

Commits

Christopher De Vries  committed bc23dd7

Branch to check out current nginx stable distribution

  • Participants
  • Parent commits 8d820ad
  • Branches nginx-mainline, nginx-stable

Comments (0)

Files changed (1)

File Dockerfile

View file
 FROM ubuntu:14.04
 MAINTAINER Christopher De Vries <devries@idolstarastronomer.com>
 
+RUN apt-get update && apt-get install -y software-properties-common && apt-get clean
+
+RUN add-apt-repository ppa:nginx/stable
 RUN apt-get update && apt-get install -y nginx && apt-get clean
 
 RUN sed "s/access_log\s*[^;]*/access_log \/dev\/stdout/g" -i /etc/nginx/nginx.conf