Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V301 #2

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.vscode
12 changes: 6 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM php:7.1-apache
FROM php:7.4-apache

RUN a2enmod rewrite

Expand All @@ -9,19 +9,19 @@ RUN apt-get -qq update && apt-get -qq -y --no-install-recommends install \
libfreetype6-dev \
libjpeg62-turbo-dev \
libmcrypt-dev \
libpng12-dev \
libpng-dev \
libjpeg-dev \
libmemcached-dev \
zlib1g-dev \
imagemagick

# install the PHP extensions we need
RUN docker-php-ext-install -j$(nproc) iconv mcrypt \
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-configure gd --with-freetype=/usr/include/ --with-jpeg=/usr/include/
RUN docker-php-ext-install -j$(nproc) gd
RUN curl -J -L -s -k \
'https://github.com/omeka/omeka-s/releases/download/v1.0.0-beta3/omeka-s.zip' \
'https://github.com/omeka/omeka-s/releases/download/v3.0.1/omeka-s-3.0.1.zip' \
-o /var/www/omeka-s.zip \
&& unzip -q /var/www/omeka-s.zip -d /var/www/ \
&& rm /var/www/omeka-s.zip \
Expand Down
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Omeka-S in docker
Omeka-S in docker (version 3.01 abril 2021)

There is also example of docker-compose.yml file which can be used for development.
It creates 3 containers:
Expand All @@ -8,3 +8,17 @@ It creates 3 containers:
- omeka-s behind apache (modules or themes can be inserted via docker volumes

`docker-compose up`


To build the image
docker build -t "name"

docker images

docker-compose up

Updated DOCKER IMAGE in https://hub.docker.com/r/horaciod/omekasid




2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ services:
depends_on:
- db
build: ./
image: klokantech/omeka-s
image: horaciod/omeka3sid:latest
ports:
- "80:80"
volumes:
Expand Down