From 8aea3e37af9624cd9a8193ed1be0c691caa76ca8 Mon Sep 17 00:00:00 2001 From: Gerrit Gogel Date: Wed, 18 Oct 2023 21:19:49 +0200 Subject: [PATCH] temporary fix for seafile_dav_provider.py syntax error --- seafile-server/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/seafile-server/Dockerfile b/seafile-server/Dockerfile index b233ec5..c2a6ac4 100644 --- a/seafile-server/Dockerfile +++ b/seafile-server/Dockerfile @@ -1,6 +1,6 @@ FROM alpine:3.18.4 AS get -RUN apk add --no-cache wget +RUN apk add --no-cache wget sed ENV SEAFILE_SERVER=seafile-server SEAFILE_VERSION=11.0.1 @@ -9,6 +9,8 @@ RUN cd /tmp && \ tar -zxvf seafile-server_${SEAFILE_VERSION}_x86-64.tar.gz && \ rm -f seafile-server_${SEAFILE_VERSION}_x86-64.tar.gz +RUN sed -i '1d' /tmp/seafile-server-${SEAFILE_VERSION}/seahub/thirdpart/wsgidav/seafile_dav_provider.py + FROM ubuntu:jammy AS pip RUN apt-get update && \