Skip to content

Commit

Permalink
Docker: move build from Ubuntu 14.04 to 16.04
Browse files Browse the repository at this point in the history
  • Loading branch information
aschampion committed Jan 19, 2017
1 parent ed382fd commit 4685a07
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:14.04
FROM ubuntu:16.04
MAINTAINER Andrew Champion "andrew.champion@gmail.com"

# Install dependencies
Expand All @@ -7,12 +7,12 @@ RUN apt-get update -y \
&& add-apt-repository -y ppa:nginx/stable \
&& apt-get install -y wget ca-certificates \
&& wget --quiet -O - https://postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - \
&& add-apt-repository "deb http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg main" \
&& add-apt-repository "deb http://apt.postgresql.org/pub/repos/apt/ xenial-pgdg main" \
&& apt-get update -y \
&& apt-get install -y python-pip git \
&& apt-get install -y nginx supervisor uwsgi-plugin-python
ADD packagelist-ubuntu-14.04-apt.txt /home/
RUN xargs apt-get install -y < /home/packagelist-ubuntu-14.04-apt.txt
ADD packagelist-ubuntu-16.04-apt.txt /home/
RUN xargs apt-get install -y < /home/packagelist-ubuntu-16.04-apt.txt
ADD django/requirements.txt /home/django/
ENV WORKON_HOME /opt/virtualenvs
RUN mkdir -p /opt/virtualenvs \
Expand Down

0 comments on commit 4685a07

Please sign in to comment.