Adding sys libraries
This commit is contained in:
parent
6b801822fd
commit
409c9aac5b
|
|
@ -4,7 +4,9 @@
|
||||||
FROM php:5.6-apache
|
FROM php:5.6-apache
|
||||||
|
|
||||||
# Install required system libraries and PHP extensions for CakePHP
|
# Install required system libraries and PHP extensions for CakePHP
|
||||||
RUN apt-get update && \
|
RUN sed -i 's|http://deb.debian.org/debian|http://archive.debian.org/debian|g' /etc/apt/sources.list && \
|
||||||
|
sed -i 's|http://security.debian.org/debian-security|http://archive.debian.org/debian-security|g' /etc/apt/sources.list && \
|
||||||
|
apt-get update && \
|
||||||
apt-get install -y libpng-dev libjpeg-dev libfreetype6-dev libcurl4-openssl-dev libxml2-dev libssl-dev libmcrypt-dev libicu-dev libkrb5-dev && \
|
apt-get install -y libpng-dev libjpeg-dev libfreetype6-dev libcurl4-openssl-dev libxml2-dev libssl-dev libmcrypt-dev libicu-dev libkrb5-dev && \
|
||||||
docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ && \
|
docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ && \
|
||||||
docker-php-ext-install mysql mbstring gd curl imap
|
docker-php-ext-install mysql mbstring gd curl imap
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue