seafile-containerized/image/pro_base/Dockerfile

24 lines
856 B
Docker
Raw Normal View History

2019-04-19 10:11:28 +00:00
FROM seafileltd/base-mc: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.
# Fixing the "Sub-process /usr/bin/dpkg returned an error code (1)",
# when RUN apt-get
RUN mkdir -p /usr/share/man/man1
2019-04-23 06:57:10 +00:00
RUN apt-get update \
&& 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
# 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-06-19 03:38:39 +00:00
RUN apt clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*