Spotter-VM/lxc-apps/seeddms/image

36 lines
1.2 KiB
Plaintext
Raw Permalink Normal View History

IMAGE seeddms_6.0.14-210106
FROM alpine3.12-php7.3_7.3.25-210106
2018-09-13 14:33:25 +02:00
RUN EOF
# Install runtime dependencies
apk --no-cache add ghostscript imagemagick libreoffice-calc libreoffice-impress libreoffice-writer php7-curl php7-fileinfo php7-iconv php7-intl php7-openssl php7-pear php7-pdo_pgsql php7-simplexml php7-xml php7-xsl php7-zip poppler-utils python3 ttf-opensans
2019-11-30 09:59:32 +01:00
ln -s /usr/bin/python3 /usr/bin/python
2018-09-13 14:33:25 +02:00
# 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-6.0.14/seeddms-quickstart-6.0.14.tar.gz/download -O - | tar xzf - -C /srv
2020-03-23 10:11:16 +01:00
mv /srv/seeddms* /srv/seeddms
2018-09-13 14:33:25 +02:00
EOF
2020-03-23 10:11:16 +01:00
COPY image.d
2018-09-13 14:33:25 +02:00
RUN EOF
# Create OS user
addgroup -S -g 8080 seeddms
adduser -S -u 8080 -h /srv/seeddms -s /bin/false -g seeddms -G seeddms seeddms
2018-09-13 14:33:25 +02:00
chown -R seeddms:seeddms /srv/seeddms
# Cleanup
apk --no-cache del wget
rm -f /srv/seeddms/www/install
2018-09-13 14:33:25 +02:00
rm -rf /srv/seeddms/data/conf /srv/seeddms/www/ext/example
EOF
2020-02-09 15:54:46 +01:00
CMD /bin/s6-svscan /etc/services.d