add the necessary additional packages
[fixed] invlaid seafile package
This commit is contained in:
root 2018-06-22 03:47:58 -04:00 committed by Hu
parent ceb4826d6e
commit 400070158e
4 changed files with 7 additions and 6 deletions

View file

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
version=6.2.10 version=6.2.13
set -e -x set -e -x
./ci/install_deps.sh ./ci/install_deps.sh

View file

@ -1,4 +1,4 @@
server_version=6.2.10 server_version=6.2.13
base_image=seafileltd/base:16.04 base_image=seafileltd/base:16.04
base_image_squashed=seafileltd/base:16.04-squashed base_image_squashed=seafileltd/base:16.04-squashed

View file

@ -7,8 +7,9 @@ RUN apt update
RUN apt-get install -y openjdk-8-jre libmemcached-dev zlib1g-dev pwgen curl openssl poppler-utils libpython2.7 libreoffice \ RUN apt-get install -y openjdk-8-jre libmemcached-dev zlib1g-dev pwgen curl openssl poppler-utils libpython2.7 libreoffice \
libreoffice-script-provider-python ttf-wqy-microhei ttf-wqy-zenhei xfonts-wqy python-requests libreoffice-script-provider-python ttf-wqy-microhei ttf-wqy-zenhei xfonts-wqy python-requests
RUN apt-get install -y python-pip python-setuptools python-urllib3 RUN apt-get install -y python-pip python-setuptools python-urllib3 python-ldap python-ceph
RUN pip install pylibmc django-pylibmc boto twilio oss2
RUN pip install oss2 django-pylibmc
RUN apt clean RUN apt clean

View file

@ -1,13 +1,13 @@
FROM seafileltd/pro-base:16.04 FROM seafileltd/pro-base:16.04
WORKDIR /opt/seafile WORKDIR /opt/seafile
ENV SEAFILE_VERSION=6.2.10 SEAFILE_SERVER=seafile-pro-server ENV SEAFILE_VERSION=6.2.13 SEAFILE_SERVER=seafile-pro-server
RUN mkdir -p /etc/my_init.d RUN mkdir -p /etc/my_init.d
RUN mkdir -p /opt/seafile/ RUN mkdir -p /opt/seafile/
RUN curl -sSL -G -d "p=/seafile-pro-server_${SEAFILE_VERSION}_x86-64.tar.gz&dl=1" https://download.seafile.top/d/8c29766a64d24122936f/files/ \ 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/ \
| tar xzf - -C /opt/seafile/ | tar xzf - -C /opt/seafile/
ADD scripts/create_data_links.sh /etc/my_init.d/01_create_data_links.sh ADD scripts/create_data_links.sh /etc/my_init.d/01_create_data_links.sh