Install wget for SeedDMS to work around sourceforge bugs

This commit is contained in:
Disassembler 2018-01-19 18:12:39 +01:00
parent 8a4d5102a2
commit 8ad7513007
No known key found for this signature in database
GPG Key ID: 524BD33A0EE29499

View File

@ -16,8 +16,10 @@ RUN \
&& ln -s /usr/bin/python3 /usr/bin/python
RUN \
# 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.5/seeddms-quickstart-5.1.5.tar.gz/download -O /srv/seeddms.tgz \
&& wget https://sourceforge.net/projects/seeddms/files/seeddms-5.1.5/seeddms-quickstart-5.1.5.tar.gz/download -O /srv/seeddms.tgz \
&& tar xzf /srv/seeddms.tgz -C /srv \
&& mv /srv/seeddms51x /srv/seeddms \
&& rm -f /srv/seeddms.tgz \
@ -26,6 +28,7 @@ RUN \
&& addgroup -S -g 8010 seeddms \
&& adduser -S -u 8010 -h /srv/seeddms -s /bin/false -g seeddms -G seeddms seeddms \
# Cleanup
&& apk del wget \
&& cp /srv/seeddms/www/install/create_tables-postgres.sql /srv/seeddms/create_tables-postgres.sql \
&& rm -rf /srv/seeddms/www/install