2018-12-13 07:18:34 +00:00
|
|
|
FROM seafileltd/base:18.04
|
2018-04-03 02:58:14 +00:00
|
|
|
|
|
|
|
# syslog-ng and syslog-forwarder would mess up the container stdout, not good
|
|
|
|
# when debugging/upgrading.
|
2018-12-13 07:18:34 +00:00
|
|
|
|
|
|
|
# Fixing the "Sub-process /usr/bin/dpkg returned an error code (1)",
|
|
|
|
# when RUN apt-get
|
|
|
|
RUN mkdir -p /usr/share/man/man1
|
|
|
|
|
2018-04-03 02:58:14 +00:00
|
|
|
RUN apt update
|
|
|
|
|
2019-04-19 07:20:27 +00:00
|
|
|
RUN apt-get install -y libmemcached-dev zlib1g-dev pwgen curl openssl poppler-utils libpython2.7 libreoffice \
|
|
|
|
libreoffice-script-provider-python ttf-wqy-microhei ttf-wqy-zenhei xfonts-wqy python-requests tzdata \
|
|
|
|
python-pip python-setuptools python-urllib3 python-ldap python-ceph
|
2018-04-03 02:58:14 +00:00
|
|
|
|
2019-04-19 07:20:27 +00:00
|
|
|
# The S3 storage, oss storage and psd online preview etc,
|
2018-12-13 07:18:34 +00:00
|
|
|
# depends on the python-backages as follow:
|
2019-04-19 07:20:27 +00:00
|
|
|
RUN pip install boto==2.43.0 \
|
|
|
|
oss2==2.3.0 \
|
|
|
|
psd-tools==1.4 \
|
|
|
|
pycryptodome==3.7.2 \
|
2018-12-13 07:18:34 +00:00
|
|
|
twilio==5.7.0
|
2018-06-19 03:38:39 +00:00
|
|
|
|
2019-03-14 09:18:48 +00:00
|
|
|
RUN apt clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|