Skip to content

Commit

Permalink
fixed certificate and opti
Browse files Browse the repository at this point in the history
  • Loading branch information
ZHAJOR committed Jun 3, 2017
1 parent 91988c8 commit d141218
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ MAINTAINER Pierre-Antoine 'ZHAJOR' Tible <[email protected]>

ENV DEBIAN_FRONTEND=noninteractive
# Add the PostgreSQL apt repository
RUN echo '\
deb http://apt.postgresql.org/pub/repos/apt/ jessie-pgdg main' >> /etc/apt/sources.list
RUN wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add -

RUN apt-get update
RUN apt-get upgrade
RUN apt-get -y install apache2 libapache2-mod-php5 php5 php5-pgsql wget unzip postgresql-client-9.6
RUN apt-get clean
RUN apt-get update && \
apt-get -y install wget && \
wget -q https://www.postgresql.org/media/keys/ACCC4CF8.asc -O - | apt-key add - && \
echo "deb http://apt.postgresql.org/pub/repos/apt/ jessie-pgdg main" >> /etc/apt/sources.list.d/pgdg.list && \
apt-get update && \
apt-get -y upgrade && \
apt-get -y install apache2 libapache2-mod-php5 php5 php5-pgsql unzip postgresql-client-9.6 && \
apt-get clean

ENV APACHE_RUN_USER www-data
ENV APACHE_RUN_GROUP www-data
Expand Down

0 comments on commit d141218

Please sign in to comment.