Docker container improvements

Hi,
We are talking about seafileltd/seafile-mc:9.0.6 docker container.

There are several points.

  1. Add the psd_tools (python module) to the docker image. Without it, PSD files are not displayed.
  2. A good solution would be to add the installation of additional python modules from requirements.txt when starting the docker container.
  3. Combine all layers of apt-get install into one in a docker container.

Thanks for the suggestions. We will check them.

psd_tools will be included.

Combining all layers will lead to a large layer, and will have problems in pull/push the layer to the docker hub.

I saw very large layers, and in your image you can definitely combine several into one
8 weeks ago /bin/sh -c apt-get install -y ldap-utils ca-… 4.69MB
8 weeks ago /bin/sh -c apt-get install -y fuse 2.35MB
8 weeks ago /bin/sh -c apt-get install -y libmemcached11… 3.96MB
8 weeks ago /bin/sh -c apt-get install -y libmysqlclient… 70.6MB
8 weeks ago /bin/sh -c apt-get install -y nginx 17MB
8 weeks ago /bin/sh -c export DEBIAN_FRONTEND=noninterac… 5.37MB

and
8 weeks ago /bin/sh -c pip3 install --timeout=3600 futur… 34.7MB
8 weeks ago /bin/sh -c pip3 install --timeout=3600 click… 28.3MB
8 weeks ago /bin/sh -c python3 -m pip install --upgrade … 12.1MB
8 weeks ago /bin/sh -c rm -f /usr/bin/python && ln -s /u… 16B

Thanks for the suggestion. We will improve the docker images.