Skip to content

Commit

Permalink
update to buster, php 7-4, and omeka 2.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
giocomai committed Jan 31, 2020
1 parent d9036ea commit d96704d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM php:apache-stretch
FROM php:7.4-apache-buster

# Omeka-S web publishing platform for digital heritage collections (https://omeka.org/s/)
# Previous maintainers: Oldrich Vykydal (o1da) - Klokan Technologies GmbH / Eric Dodemont <eric.dodemont@skynet.be>
Expand All @@ -23,13 +23,13 @@ RUN apt-get -qq update && apt-get -qq -y --no-install-recommends install \
ghostscript

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

# Add the Omeka-S PHP code
# Latest Omeka version, check: https://omeka.org/s/download/
RUN wget --no-verbose "https://github.com/omeka/omeka-s/releases/download/v2.0.2/omeka-s-2.0.2.zip" -O /var/www/latest_omeka_s.zip
RUN wget --no-verbose "https://github.com/omeka/omeka-s/releases/download/v2.1.0/omeka-s-2.1.0.zip" -O /var/www/latest_omeka_s.zip
RUN unzip -q /var/www/latest_omeka_s.zip -d /var/www/ \
&& rm /var/www/latest_omeka_s.zip \
&& rm -rf /var/www/html/ \
Expand Down

0 comments on commit d96704d

Please sign in to comment.