seafile-containerized/image/seafile/Dockerfile

18 lines
471 B
Docker
Raw Normal View History

2017-01-03 07:08:34 +00:00
FROM seafileltd/base:16.04
WORKDIR /opt/seafile
RUN mkdir -p /etc/my_init.d
2018-09-07 08:00:02 +00:00
ENV SEAFILE_VERSION=6.3.3 SEAFILE_SERVER=seafile-server
RUN mkdir -p /opt/seafile/ && \
2017-08-08 06:12:39 +00:00
curl -sSL -o - https://download.seadrive.org/seafile-server_${SEAFILE_VERSION}_x86-64.tar.gz \
| tar xzf - -C /opt/seafile/
ADD scripts/create_data_links.sh /etc/my_init.d/01_create_data_links.sh
COPY scripts /scripts
COPY templates /templates
CMD ["/sbin/my_init", "--", "/scripts/start.py"]