5 Achegas 43167878c0 ... 7b0f9d0077

Autor SHA1 Mensaxe Data
  Coastas 7b0f9d0077 Fixes %!s(int64=2) %!d(string=hai) anos
  Coastas ef4498beb3 Rename src to empire %!s(int64=2) %!d(string=hai) anos
  Coastas 383ce88634 Rename src to empire %!s(int64=2) %!d(string=hai) anos
  Coastas 2ea87bf7de Fix phpMyAdmin network %!s(int64=2) %!d(string=hai) anos
  Coastas acbd2525a0 Initial commit %!s(int64=2) %!d(string=hai) anos
Modificáronse 1 ficheiros con 18 adicións e 1 borrados
  1. 18 1
      php/Dockerfile

+ 18 - 1
php/Dockerfile

@@ -1,2 +1,19 @@
 FROM php:7-fpm
-RUN docker-php-ext-install pdo pdo_mysql
+
+RUN apt-get update && \
+    apt-get install -y --no-install-recommends \
+		libfreetype6-dev \
+		libjpeg62-turbo-dev \
+		libpng-dev \
+        libmagickwand-dev \
+        imagemagick && \
+    rm -rf /var/lib/apt/lists/*
+
+RUN export CFLAGS="$PHP_CFLAGS" CPPFLAGS="$PHP_CPPFLAGS" LDFLAGS="$PHP_LDFLAGS" &&  \
+    pecl install imagick && \
+    docker-php-ext-enable imagick
+
+RUN docker-php-ext-install pdo pdo_mysql
+
+RUN docker-php-ext-configure gd --with-freetype --with-jpeg && \
+    docker-php-ext-install gd