Skip to content

Commit

Permalink
Correction to make PHP-GD works.
Browse files Browse the repository at this point in the history
  • Loading branch information
dodeeric committed Jun 13, 2019
1 parent 20c3cb9 commit a86fc6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ RUN apt-get -qq update && apt-get -qq -y --no-install-recommends install \
libmagickwand-dev

# Install the PHP extensions we need
RUN docker-php-ext-install -j$(nproc) iconv pdo pdo_mysql mysqli gd
RUN docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/
RUN docker-php-ext-install -j$(nproc) iconv pdo pdo_mysql mysqli gd
RUN pecl install mcrypt-1.0.2 && docker-php-ext-enable mcrypt && pecl install imagick && docker-php-ext-enable imagick

# Add the Omeka-S PHP code
Expand Down

0 comments on commit a86fc6f

Please sign in to comment.