From 5316690654cf3555749199dbb78d6dfeae51d913 Mon Sep 17 00:00:00 2001 From: Gitouche <26656-gitouche@users.noreply.framagit.org> Date: Thu, 2 Mar 2023 09:03:12 +0100 Subject: [PATCH] seafile : fix? build image --- podman-seafile/ci_build-images.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/podman-seafile/ci_build-images.sh b/podman-seafile/ci_build-images.sh index bec9392..6a51226 100755 --- a/podman-seafile/ci_build-images.sh +++ b/podman-seafile/ci_build-images.sh @@ -17,7 +17,7 @@ if ! podman image exists ${seafile_image}:${seafile_release}; then sed_in_place "pip -i https://pypi.tuna.tsinghua.edu.cn/simple/" "pip" ${buildfolder}/image/seafile_${seafile_release%.*}/Dockerfile && sed_in_place " -i https://pypi.tuna.tsinghua.edu.cn/simple/" " " ${buildfolder}/image/seafile_${seafile_release%.*}/Dockerfile && sed_in_place 'wget https://seafile-downloads.oss-cn-shanghai.aliyuncs.com/seafile-server_${SEAFILE_VERSION}_x86-64.tar.gz' 'wget -q https://github.com/haiwen/seafile-server/archive/refs/tags/v${SEAFILE_VERSION}-server.tar.gz -O seafile-server_${SEAFILE_VERSION}_x86-64.tar.gz' ${buildfolder}/image/seafile_${seafile_release%.*}/Dockerfile && - sed_in_place "tar -zxvf" "tar -zxf" ${buildfolder}/image/seafile_${seafile_release%.*}/Dockerfile && + sed_in_place 'tar -zxvf seafile-server_${SEAFILE_VERSION}_x86-64.tar.gz' 'tar -zxf seafile-server_${SEAFILE_VERSION}_x86-64.tar.gz --strip-components=1' ${buildfolder}/image/seafile_${seafile_release%.*}/Dockerfile && podman build -t ${seafile_image}:${seafile_release} \ -f ${buildfolder}/image/seafile_${seafile_release%.*}/Dockerfile \ ${buildfolder} &&