title: Install php7.0-pgsql inside docker php:7.0-apache
body: <p>I try to install php7.0-pgsql inside my php:7.0-apache image.
  I know there are a lot of comparable issues on the internet but I really need help for this:</p>
  
  <pre><code>FROM php:7.0-apache
  RUN apt-get -y update &amp;&amp; \
      apt-get -y install software-properties-common locales locales-all &amp;&amp; \
      LC_ALL=en_US.UTF-8 add-apt-repository ppa:ondrej/php &amp;&amp; \
      apt-get -y update &amp;&amp; \
      apt-get -y install php7.0-pgsql
  COPY src/ /var/www/html
  </code></pre>
  
  <p>The following error appears during my docker build:</p>
  
  <pre><code># LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php
   More info: https://launchpad.net/~ondrej/+archive/ubuntu/php
  gpg: keyring `/tmp/tmppxe6egn8/secring.gpg' created
  gpg: keyring `/tmp/tmppxe6egn8/pubring.gpg' created
  gpg: requesting key E5267A6C from hkp server keyserver.ubuntu.com
  gpg: /tmp/tmppxe6egn8/trustdb.gpg: trustdb created
  gpg: key E5267A6C: public key "Launchpad PPA for Ondřej Surý" imported
  gpg: Total number processed: 1
  gpg:               imported: 1  (RSA: 1)
  OK
  Hit http://security.debian.org jessie/updates InRelease
  Ign http://ppa.launchpad.net jessie InRelease
  Ign http://ppa.launchpad.net jessie Release.gpg
  Get:1 http://security.debian.org jessie/updates/main amd64 Packages [549 kB]
  Ign http://ppa.launchpad.net jessie Release
  Err http://ppa.launchpad.net jessie/main amd64 Packages
  
  Ign http://deb.debian.org jessie InRelease
  Err http://ppa.launchpad.net jessie/main amd64 Packages
  
  Hit http://deb.debian.org jessie-updates InRelease
  Hit http://deb.debian.org jessie Release.gpg
  Err http://ppa.launchpad.net jessie/main amd64 Packages
  
  Err http://ppa.launchpad.net jessie/main amd64 Packages
  
  Hit http://deb.debian.org jessie Release
  Err http://ppa.launchpad.net jessie/main amd64 Packages
    404  Not Found
  Get:2 http://deb.debian.org jessie-updates/main amd64 Packages [17.8 kB]
  Get:3 http://deb.debian.org jessie/main amd64 Packages [9063 kB]
  Fetched 9630 kB in 11s (870 kB/s)
  W: Failed to fetch http://ppa.launchpad.net/ondrej/php/ubuntu/dists/jessie/main/binary-amd64/Packages  404  Not Found
  
  E: Some index files failed to download. They have been ignored, or old ones used instead.
  The command '/bin/sh -c apt-get -y update &amp;&amp;     apt-get -y install software-properties-common locales locales-all &amp;&amp;     LC_ALL=en_US.UTF-8 add-apt-repository ppa:ondrej/php &amp;&amp;     apt-get -y update &amp;&amp;     apt-get -y install php7.0-pgsql' returned a non-zero code: 100
  </code></pre>