diff --git a/Dockerfile b/Dockerfile index ff09a92cd..32581b529 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,12 +12,16 @@ ENV APACHE_LOCK_DIR=/var/lock/apache2 ENV APACHE_PID_FILE=/var/run/apache2/apache2.pid -RUN apt update && apt install -y git zip unzip libzip-dev libicu-dev nodejs npm +RUN apt update && apt install -y git zip unzip libzip-dev libicu-dev libmagickwand-dev imagemagick nodejs npm RUN git clone https://github.com/omeka/omeka-s . RUN npm install +RUN yes '' | pecl install imagick + +RUN docker-php-ext-enable imagick + RUN docker-php-ext-install pdo_mysql intl RUN npx gulp init @@ -26,6 +30,8 @@ RUN a2enmod rewrite RUN chown -R www-data:www-data /var/www/html/ +RUN apt-get clean && rm -rf /var/lib/apt/lists/* + COPY docker-entrypoint.sh . VOLUME /var/www/html/files