seafile-containerized/image/pro_seafile/Dockerfile

18 lines
502 B
Docker
Raw Normal View History

2018-04-03 02:58:14 +00:00
FROM seafileltd/pro-base:16.04
WORKDIR /opt/seafile
ENV SEAFILE_VERSION=6.2.13 SEAFILE_SERVER=seafile-pro-server
2018-04-03 02:58:14 +00:00
RUN mkdir -p /etc/my_init.d
RUN mkdir -p /opt/seafile/
RUN curl -sSL -G -d "p=/seafile-pro-server_${SEAFILE_VERSION}_x86-64_Ubuntu.tar.gz&dl=1" https://download.seafile.top/d/8c29766a64d24122936f/files/ \
2018-04-03 02:58:14 +00:00
| tar xzf - -C /opt/seafile/
ADD scripts/create_data_links.sh /etc/my_init.d/01_create_data_links.sh
2018-04-03 02:58:14 +00:00
COPY scripts /scripts
COPY templates /templates
2018-05-18 09:12:14 +00:00
RUN chmod u+x /scripts/*