diff --git a/image/pro_seafile_7.1/Dockerfile b/image/pro_seafile_7.1/Dockerfile index 90766fc..ec4587e 100644 --- a/image/pro_seafile_7.1/Dockerfile +++ b/image/pro_seafile_7.1/Dockerfile @@ -1,6 +1,6 @@ -# Lastet phusion baseimage as of 20180412, based on ubuntu 18.04 # See https://hub.docker.com/r/phusion/baseimage/tags/ FROM phusion/baseimage:0.11 +ENV SEAFILE_SERVER=seafile-pro-server SEAFILE_VERSION= RUN apt-get update --fix-missing @@ -43,6 +43,7 @@ RUN pip3 install --timeout=3600 boto oss2 pycryptodome twilio python-ldap config COPY scripts_7.1 /scripts COPY templates /templates COPY services /services +RUN chmod u+x /scripts/* RUN mkdir -p /etc/my_init.d && \ rm -f /etc/my_init.d/* && \ @@ -57,8 +58,6 @@ RUN mkdir -p /etc/service/nginx && \ # Seafile WORKDIR /opt/seafile -ENV SEAFILE_VERSION=7.1.3 SEAFILE_SERVER=seafile-pro-server - RUN mkdir -p /opt/seafile/ && cd /opt/seafile/ && \ wget -O seafile-pro-server_${SEAFILE_VERSION}_x86-64_Ubuntu.tar.gz \ "https://download.seafile.com/d/6e5297246c/files/?p=/pro/seafile-pro-server_${SEAFILE_VERSION}_x86-64_Ubuntu.tar.gz&dl=1" && \ diff --git a/image/seafile_7.1/Dockerfile b/image/seafile_7.1/Dockerfile index d21b899..8a7a620 100644 --- a/image/seafile_7.1/Dockerfile +++ b/image/seafile_7.1/Dockerfile @@ -1,6 +1,6 @@ -# Lastet phusion baseimage as of 20180412, based on ubuntu 18.04 # See https://hub.docker.com/r/phusion/baseimage/tags/ FROM phusion/baseimage:0.11 +ENV SEAFILE_SERVER=seafile-server SEAFILE_VERSION= RUN apt-get update --fix-missing @@ -29,6 +29,7 @@ RUN pip3 install --timeout=3600 Pillow pylibmc captcha jinja2 \ COPY scripts_7.1 /scripts COPY templates /templates COPY services /services +RUN chmod u+x /scripts/* RUN mkdir -p /etc/my_init.d && \ rm -f /etc/my_init.d/* && \ @@ -43,8 +44,6 @@ RUN mkdir -p /etc/service/nginx && \ # Seafile WORKDIR /opt/seafile -ENV SEAFILE_VERSION=7.1.3 SEAFILE_SERVER=seafile-server - RUN mkdir -p /opt/seafile/ && cd /opt/seafile/ && \ wget https://download.seadrive.org/seafile-server_${SEAFILE_VERSION}_x86-64.tar.gz && \ tar -zxvf seafile-server_${SEAFILE_VERSION}_x86-64.tar.gz && \