Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Docker build and add jpeg support #1224

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions docker/base-dev/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ FROM php:7.1-apache-buster

RUN apt-get update && \
apt-get upgrade -y && \
apt-get install -y sudo curl wget git unzip libldap2-dev libpng++-dev libicu-dev libcurl4-gnutls-dev libxml2-dev libpq-dev libfreetype6-dev nano less vim && \
apt-get install -y sudo curl wget git unzip libldap2-dev libjpeg62-turbo-dev libpng++-dev libicu-dev libcurl4-gnutls-dev libxml2-dev libpq-dev libfreetype6-dev nano less vim && \
apt-get clean && \
docker-php-ext-configure ldap && docker-php-ext-install ldap && \
docker-php-ext-configure bcmath && docker-php-ext-install bcmath && \
docker-php-ext-configure gd --with-freetype-dir=/usr/include/freetype2 && docker-php-ext-install gd && \
docker-php-ext-configure gd --with-freetype-dir=/usr/include/freetype2 --with-jpeg-dir && docker-php-ext-install gd && \
docker-php-ext-install opcache intl dom pdo pdo_mysql pdo_pgsql && \
pecl install xdebug && docker-php-ext-enable xdebug && \
pecl install xdebug-2.9.0 && docker-php-ext-enable xdebug && \
pecl install apcu_bc-beta && \
docker-php-ext-enable apcu apc && \
mv /usr/local/etc/php/conf.d/docker-php-ext-apcu.ini /usr/local/etc/php/conf.d/10-docker-php-ext-apcu.ini && \
Expand Down