Skip to content

Commit

Permalink
feat: add imagemagick
Browse files Browse the repository at this point in the history
  • Loading branch information
johackim committed Nov 15, 2024
1 parent 348c077 commit c689571
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit c689571

Please sign in to comment.