Skip to content

Instantly share code, notes, and snippets.

View MichaelCaraccio's full-sized avatar

piratefache MichaelCaraccio

View GitHub Profile
@MichaelCaraccio
MichaelCaraccio / Dockerfile
Created October 25, 2016 15:47
PHP7 + Apache + Laravel + Amazon web services (AWS) Elastic Beanstalk
FROM php:7.0.12-apache
ENV DEBIAN_FRONTEND=noninteractive
# Install the PHP extensions I need for my personnal project (gd, mbstring, opcache)
RUN apt-get update && apt-get install -y libpng12-dev libjpeg-dev libpq-dev git mysql-client-5.5 wget \
&& rm -rf /var/lib/apt/lists/* \
&& docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr \
&& docker-php-ext-install gd mbstring opcache pdo zip