Skip to content

Instantly share code, notes, and snippets.

@talentedunicorn
Created April 5, 2016 16:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save talentedunicorn/6e993ed0e8143f96e6fe5175ea4b9386 to your computer and use it in GitHub Desktop.
Save talentedunicorn/6e993ed0e8143f96e6fe5175ea4b9386 to your computer and use it in GitHub Desktop.
Dockerfile for running BoltCMS (minimal configuration)
FROM php:5.6-apache
RUN apt-get update && apt-get install -y \
libfreetype6-dev \
libjpeg62-turbo-dev \
libpng12-dev \
&& docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \
&& docker-php-ext-install gd mbstring \
&& a2enmod rewrite && service apache2 restart \
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment