seafile-containerized/image/pro_seafile/Dockerfile
Hulk 78326e41f6 Baseimage 0.11 (#119)
* update baseimages to 0.10.2

* update baseimage to 0.11

* del the files by the local test procuced.

* update windows install instructions

closes #123

* Pass arguments to seaf-gc

This will allow users to run seaf-gc with parameters like ``-D`` or ``-r``

* Apply pass argument patch to all gc scripts

* modified the 16.04 to 18.04

* updata comment
2018-12-13 15:18:34 +08:00

19 lines
520 B
Docker

FROM seafileltd/pro-base:18.04
WORKDIR /opt/seafile
ENV SEAFILE_VERSION=6.3.7 SEAFILE_SERVER=seafile-pro-server
RUN mkdir -p /etc/my_init.d
RUN mkdir -p /opt/seafile/
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/ \
| 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"]