diff --git a/podman-seafile/ci_build-images.sh b/podman-seafile/ci_build-images.sh index 6a51226..8fcef53 100755 --- a/podman-seafile/ci_build-images.sh +++ b/podman-seafile/ci_build-images.sh @@ -16,7 +16,7 @@ if ! podman image exists ${seafile_image}:${seafile_release}; then sed_in_place "SEAFILE_VERSION=" "SEAFILE_VERSION=${seafile_release}" ${buildfolder}/image/seafile_${seafile_release%.*}/Dockerfile && 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 'wget https://seafile-downloads.oss-cn-shanghai.aliyuncs.com/seafile-server_${SEAFILE_VERSION}_x86-64.tar.gz' 'wget -q https://s3.eu-central-1.amazonaws.com/download.seadrive.org/seafile-server_${SEAFILE_VERSION}_x86-64.tar.gz' ${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 \