2018-12-13 07:18:34 +00:00
|
|
|
FROM seafileltd/cluster-base:18.04
|
2018-07-09 08:51:23 +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-07-09 08:51:23 +00:00
|
|
|
RUN apt update
|
|
|
|
|
|
|
|
RUN apt-get install -y openjdk-8-jre libmemcached-dev zlib1g-dev pwgen curl openssl poppler-utils libpython2.7 libreoffice \
|
2018-10-27 08:42:54 +00:00
|
|
|
libreoffice-script-provider-python ttf-wqy-microhei ttf-wqy-zenhei xfonts-wqy python-requests mysql-client
|
2018-07-09 08:51:23 +00:00
|
|
|
|
|
|
|
RUN apt-get install -y tzdata python-pip python-setuptools python-urllib3 python-ldap python-ceph
|
|
|
|
|
2018-12-13 07:18:34 +00:00
|
|
|
# The S3 storage, oss storage and psd online preview etc,
|
|
|
|
# depends on the python-backages as follow:
|
|
|
|
RUN pip install boto==2.43.0 \
|
|
|
|
oss2==2.3.0 \
|
|
|
|
psd-tools==1.4 \
|
|
|
|
pycryptodome==3.7.2 \
|
|
|
|
twilio==5.7.0
|
2018-07-09 08:51:23 +00:00
|
|
|
|
|
|
|
RUN apt clean
|