mirror of
https://github.com/ggogel/seafile-containerized.git
synced 2025-09-02 10:49:22 +00:00
move wget to the beginning
This commit is contained in:
parent
6551e086a8
commit
35a309d98c
1 changed files with 5 additions and 5 deletions
|
@ -12,6 +12,11 @@ python3 python3-pip python3-setuptools \
|
||||||
libmysqlclient-dev \
|
libmysqlclient-dev \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
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 && \
|
||||||
|
rm -f seafile-server_${SEAFILE_VERSION}_x86-64.tar.gz
|
||||||
|
|
||||||
# Python3
|
# Python3
|
||||||
RUN python3.6 -m pip install --upgrade pip \
|
RUN python3.6 -m pip install --upgrade pip \
|
||||||
&& pip3 install --timeout=3600 click termcolor colorlog pymysql \
|
&& pip3 install --timeout=3600 click termcolor colorlog pymysql \
|
||||||
|
@ -31,11 +36,6 @@ RUN mkdir -p /etc/my_init.d && \
|
||||||
# Seafile
|
# Seafile
|
||||||
WORKDIR /opt/seafile
|
WORKDIR /opt/seafile
|
||||||
|
|
||||||
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 && \
|
|
||||||
rm -f seafile-server_${SEAFILE_VERSION}_x86-64.tar.gz
|
|
||||||
|
|
||||||
# For using TLS connection to LDAP/AD server with docker-ce.
|
# For using TLS connection to LDAP/AD server with docker-ce.
|
||||||
RUN find /opt/seafile/ \( -name "liblber-*" -o -name "libldap-*" -o -name "libldap_r*" -o -name "libsasl2.so*" \) -delete
|
RUN find /opt/seafile/ \( -name "liblber-*" -o -name "libldap-*" -o -name "libldap_r*" -o -name "libsasl2.so*" \) -delete
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue