mirror of
https://github.com/thib8956/nginx-proxy
synced 2024-11-25 05:16:30 +00:00
Use Ubuntu Trusty 14.04 as base image
This commit is contained in:
parent
b9d7bde5cd
commit
6f7ac47a42
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
|
||||||
|
Loading…
Reference in New Issue
Block a user