Install wget for SeedDMS to work around sourceforge bugs
This commit is contained in:
parent
8a4d5102a2
commit
8ad7513007
@ -16,8 +16,10 @@ RUN \
|
|||||||
&& ln -s /usr/bin/python3 /usr/bin/python
|
&& ln -s /usr/bin/python3 /usr/bin/python
|
||||||
|
|
||||||
RUN \
|
RUN \
|
||||||
|
# Install full-featured wget to work around sourceforge bugs
|
||||||
|
apk --no-cache add wget \
|
||||||
# Install SeedDMS
|
# 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 \
|
&& tar xzf /srv/seeddms.tgz -C /srv \
|
||||||
&& mv /srv/seeddms51x /srv/seeddms \
|
&& mv /srv/seeddms51x /srv/seeddms \
|
||||||
&& rm -f /srv/seeddms.tgz \
|
&& rm -f /srv/seeddms.tgz \
|
||||||
@ -26,6 +28,7 @@ RUN \
|
|||||||
&& addgroup -S -g 8010 seeddms \
|
&& addgroup -S -g 8010 seeddms \
|
||||||
&& adduser -S -u 8010 -h /srv/seeddms -s /bin/false -g seeddms -G seeddms seeddms \
|
&& adduser -S -u 8010 -h /srv/seeddms -s /bin/false -g seeddms -G seeddms seeddms \
|
||||||
# Cleanup
|
# Cleanup
|
||||||
|
&& apk del wget \
|
||||||
&& cp /srv/seeddms/www/install/create_tables-postgres.sql /srv/seeddms/create_tables-postgres.sql \
|
&& cp /srv/seeddms/www/install/create_tables-postgres.sql /srv/seeddms/create_tables-postgres.sql \
|
||||||
&& rm -rf /srv/seeddms/www/install
|
&& rm -rf /srv/seeddms/www/install
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user