Select Git revision
Janne Mareike Koschinski authored
Dockerfile 1.08 KiB
FROM krallin/ubuntu-tini:16.04
RUN apt-get update && apt-get install -y --no-install-recommends \
python \
python2.7 \
libpython2.7 \
python-setuptools \
python-imaging \
python-ldap \
python-urllib3 \
python-pip \
python-memcache \
ffmpeg \
libmemcached-dev \
build-essential \
python-dev \
zlib1g-dev \
wget
RUN pip2 install --upgrade pip && \
pip2 install --upgrade wheel && \
pip2 install --upgrade pillow \
moviepy \
psycopg2-binary \
pylibmc \
django-pylibmc
RUN wget https://download.seadrive.org/seafile-server_7.0.3_x86-64.tar.gz -O /seafile-server.tar.gz && \
mkdir /haiwen && \
tar xzvf /seafile-server.tar.gz && \
rm /seafile-server.tar.gz
RUN mv /seafile-server-* /haiwen/seafile-server-latest
RUN rm -rf /haiwen/seafile-server-latest/seahub/media/avatars
RUN ln -s /haiwen/seahub-data/avatars /haiwen/seafile-server-latest/seahub/media/avatars
ADD docker-entrypoint.sh /
ADD setenv.sh /haiwen/seafile-server-latest/seahub/
ENTRYPOINT ["/usr/local/bin/tini", "--"]
CMD ["/docker-entrypoint.sh"]