Skip to content

Instantly share code, notes, and snippets.

View w4tsn's full-sized avatar
🧙
Open Sourcerer

Alexander Wellbrock w4tsn

🧙
Open Sourcerer
View GitHub Profile
@w4tsn
w4tsn / Dockerfile
Last active July 16, 2017 18:12
Dockerfile for PHPBack
FROM php:5.6-apache
# Enable Apache Rewrite Module
RUN a2enmod rewrite
# Install PHP extensions
RUN apt-get update && apt-get install -y libpng12-dev libjpeg-dev libcurl4-gnutls-dev curl git php-pear php-apc \
&& rm -rf /var/lib/apt/lists/* \
&& docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr \
&& docker-php-ext-install gd \