You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

46 lines
814 B

FROM as builder
# Install dependencies
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update && apt-get install -y git imagemagick wget unzip
RUN apt-get update && \
apt-get -qy install \
php-fpm php-mysql php-curl php-gd php-mbstring php-xml php-xmlrpc php-soap php-intl php-zip php-imagick\
ghostscript wget sudo curl openssl imagemagick && \
apt-get clean
RUN useradd omeka -d /omeka/
RUN mkdir /run/php/
RUN mkdir logs
# Install omeka
RUN chown omeka:omeka /omeka
USER omeka
RUN git clone
RUN chmod 775 Omeka
WORKDIR /omeka/Omeka
RUN touch .htaccess
USER root
RUN mkdir /var/log/php
RUN chown -R omeka:omeka /var/log/php
VOLUME /omeka/
CMD ["/usr/sbin/php-fpm7.4","--nodaemonize"]]