Use Ubuntu Trusty 14.04 as base image
This commit is contained in:
parent
b9d7bde5cd
commit
6f7ac47a42
1 changed files with 5 additions and 5 deletions
10
Dockerfile
10
Dockerfile
|
@ -1,13 +1,13 @@
|
||||||
FROM ubuntu:12.04
|
FROM ubuntu:14.04
|
||||||
MAINTAINER Jason Wilder jwilder@litl.com
|
MAINTAINER Jason Wilder jwilder@litl.com
|
||||||
|
|
||||||
# Install Nginx.
|
# Install Nginx.
|
||||||
|
RUN echo "deb http://ppa.launchpad.net/nginx/stable/ubuntu trusty main" > /etc/apt/sources.list.d/nginx-stable-trusty.list
|
||||||
|
RUN echo "deb-src http://ppa.launchpad.net/nginx/stable/ubuntu trusty main" >> /etc/apt/sources.list.d/nginx-stable-trusty.list
|
||||||
|
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys C300EE8C
|
||||||
RUN apt-get update
|
RUN apt-get update
|
||||||
RUN apt-get install -y python-software-properties wget
|
RUN apt-get install -y wget nginx
|
||||||
RUN add-apt-repository -y ppa:nginx/stable
|
|
||||||
|
|
||||||
RUN apt-get update
|
|
||||||
RUN apt-get install -y nginx
|
|
||||||
RUN echo "daemon off;" >> /etc/nginx/nginx.conf
|
RUN echo "daemon off;" >> /etc/nginx/nginx.conf
|
||||||
|
|
||||||
#fix for long server names
|
#fix for long server names
|
||||||
|
|
Reference in a new issue