IMAGE seeddms_5.1.9-190620 FROM alpine3.9-php7.2_7.2.19-190620 RUN EOF # Install runtime dependencies apk --no-cache add ghostscript imagemagick libreoffice-calc libreoffice-impress libreoffice-writer php7-fileinfo php7-iconv php7-openssl php7-pear php7-pdo_pgsql php7-simplexml php7-xml poppler-utils python3 ttf-opensans ln -s /usr/bin/python3 /usr/bin/python # Install unoconv wget https://raw.githubusercontent.com/dagwieers/unoconv/master/unoconv -O /usr/bin/unoconv chmod +x /usr/bin/unoconv # Install full-featured wget to work around sourceforge bugs apk --no-cache add wget # Install SeedDMS wget https://sourceforge.net/projects/seeddms/files/seeddms-5.1.9/seeddms-quickstart-5.1.9.tar.gz/download -O /srv/seeddms.tgz tar xzf /srv/seeddms.tgz -C /srv mv /srv/seeddms51x /srv/seeddms rm -f /srv/seeddms.tgz EOF COPY lxc RUN EOF # Patch Previewers cd /srv/seeddms patch -p0