Updating to latest nginx versions

This commit is contained in:
Ric Harvey
2015-04-22 16:19:05 +01:00
parent 195aace9f5
commit 5244b61d01

View File

@@ -11,8 +11,8 @@ ENV DEBIAN_FRONTEND noninteractive
# Add sources for latest nginx # Add sources for latest nginx
RUN apt-get install -y wget RUN apt-get install -y wget
RUN wget -q http://nginx.org/keys/nginx_signing.key -O- | sudo apt-key add - RUN wget -q http://nginx.org/keys/nginx_signing.key -O- | sudo apt-key add -
RUN echo deb http://nginx.org/packages/ubuntu/ trusty nginx >> /etc/apt/sources.list RUN echo deb http://nginx.org/packages/mainline/ubuntu/ trusty nginx >> /etc/apt/sources.list
RUN echo deb-src http://nginx.org/packages/ubuntu/ trusty nginx >> /etc/apt/sources.list RUN echo deb-src http://nginx.org/packages/mainline/ubuntu/ trusty nginx >> /etc/apt/sources.list
# Update System # Update System
RUN apt-get update RUN apt-get update