2018-12-13 07:18:34 +00:00
|
|
|
FROM seafileltd/cluster-pro-base:18.04
|
2018-07-09 08:51:23 +00:00
|
|
|
WORKDIR /opt/seafile
|
|
|
|
|
2018-10-27 08:42:54 +00:00
|
|
|
ENV SEAFILE_VERSION=6.3.7 SEAFILE_SERVER=seafile-pro-server
|
2018-07-09 08:51:23 +00:00
|
|
|
|
|
|
|
RUN mkdir -p /etc/my_init.d
|
|
|
|
|
|
|
|
RUN mkdir -p /opt/seafile/
|
|
|
|
|
2018-10-27 08:42:54 +00:00
|
|
|
RUN curl -sSL -G -d "p=/pro/seafile-pro-server_${SEAFILE_VERSION}_x86-64_Ubuntu.tar.gz&dl=1" https://download.seafile.com/d/6e5297246c/files/ \
|
2018-07-09 08:51:23 +00:00
|
|
|
| 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
|
|
|
|
RUN chmod u+x /scripts/*
|