From 7a97bbe06c0a8eb7b462d87b128c5ca3154eb582 Mon Sep 17 00:00:00 2001 From: Quentin Date: Sat, 26 Oct 2019 21:16:24 +0200 Subject: New seafile version + WIP facebook bridge --- docker/seafile/Dockerfile | 11 ++++++----- docker/seafile/README.md | 4 ++-- 2 files changed, 8 insertions(+), 7 deletions(-) (limited to 'docker/seafile') diff --git a/docker/seafile/Dockerfile b/docker/seafile/Dockerfile index 7373b47..88dee4f 100644 --- a/docker/seafile/Dockerfile +++ b/docker/seafile/Dockerfile @@ -9,7 +9,7 @@ RUN apt-get update && \ tar xf ./seafile.tar.gz && \ mv seafile-server-${VERSION} seafile-server -FROM debian:buster +FROM amd64/debian:buster COPY --from=builder ./seafile-server /srv/webstore/seafile-server @@ -32,10 +32,11 @@ RUN apt-get update && \ pip install Pillow==4.3.0 && \ pip install moviepy && \ useradd -u 1000 -d /srv/webstore seauser && \ - chown -R seauser:1000 /srv/webstore/ && \ - mkdir -p /usr/lib64/mysql/plugin/ && \ - ln -s /usr/lib/x86_64-linux-gnu/mariadb*/plugin/mysql_clear_password.so /usr/lib64/mysql/plugin/ && \ - ln -s /usr/lib/x86_64-linux-gnu/mariadb*/plugin/dialog.so /usr/lib64/mysql/plugin/ + chown -R seauser:1000 /srv/webstore/ + +RUN mkdir -p /usr/local/lib/mariadb/plugin/ && \ + ln -s /usr/lib/x86_64-linux-gnu/mariadb*/plugin/mysql_clear_password.so /usr/local/lib/mariadb/plugin/ && \ + ln -s /usr/lib/x86_64-linux-gnu/mariadb*/plugin/dialog.so /usr/local/lib/mariadb/plugin/ WORKDIR /srv/webstore/seafile-server COPY seadocker /usr/local/bin/seadocker diff --git a/docker/seafile/README.md b/docker/seafile/README.md index 98cc5b0..819ad54 100644 --- a/docker/seafile/README.md +++ b/docker/seafile/README.md @@ -1,8 +1,7 @@ ```bash -sudo docker build -t superboum/amd64_seafile:v5 . +sudo docker build -t superboum/amd64_seafile:v6 . -# When upgrading: sudo docker run -t -i \ -v /mnt/glusterfs/seafile:/mnt/seafile-data \ -v /mnt/glusterfs/seaconf/conf:/srv/webstore/conf \ @@ -10,3 +9,4 @@ sudo docker run -t -i \ superboum/amd64_seafile:v5 ``` +when upgrading, change the command on start -- cgit v1.2.3