Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
mevdschee committed Jun 28, 2021
1 parent be7946e commit 806c136
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Dockerfile
@@ -1,10 +1,8 @@
FROM php:apache

RUN docker-php-ext-install pdo pdo_mysql

RUN apt-get update; \
apt-get install -y libpq5 libpq-dev; \
docker-php-ext-install pdo pdo_pgsql; \
docker-php-ext-install pdo pdo_pgsql pdo_mysql; \
apt-get autoremove --purge -y libpq-dev; \
apt-get clean ; \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/*
Expand Down

0 comments on commit 806c136

Please sign in to comment.