diff --git a/ci/ci.sh b/ci/ci.sh index 5958258..5fe01fb 100755 --- a/ci/ci.sh +++ b/ci/ci.sh @@ -1,6 +1,6 @@ #!/bin/bash -version=6.3.3 +version=6.3.7 set -e -x ./ci/install_deps.sh diff --git a/image/Makefile b/image/Makefile index 6b507ef..8a71b4d 100644 --- a/image/Makefile +++ b/image/Makefile @@ -1,4 +1,4 @@ -server_version=6.3.3 +server_version=6.3.7 base_image=seafileltd/base:16.04 base_image_squashed=seafileltd/base:16.04-squashed diff --git a/image/pro_seafile/Dockerfile b/image/pro_seafile/Dockerfile index 1ad9a9a..83d0458 100644 --- a/image/pro_seafile/Dockerfile +++ b/image/pro_seafile/Dockerfile @@ -1,13 +1,13 @@ FROM seafileltd/pro-base:16.04 WORKDIR /opt/seafile -ENV SEAFILE_VERSION=6.2.13 SEAFILE_SERVER=seafile-pro-server +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=/seafile-pro-server_${SEAFILE_VERSION}_x86-64_Ubuntu.tar.gz&dl=1" https://download.seafile.top/d/8c29766a64d24122936f/files/ \ +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 @@ -15,4 +15,6 @@ ADD scripts/create_data_links.sh /etc/my_init.d/01_create_data_links.sh COPY scripts /scripts COPY templates /templates +EXPOSE 80 + CMD ["/sbin/my_init", "--", "/scripts/start.py"]