From ecf0a6c639625827ee10320b0dff02995a6c3f05 Mon Sep 17 00:00:00 2001 From: Gitouche <26656-gitouche@users.noreply.framagit.org> Date: Thu, 25 Jan 2024 21:09:28 +0100 Subject: [PATCH] seafile : 1.0.4 - CI will fail for now --- podman-seafile/ci_build-images.sh | 5 +++-- podman-seafile/vars.sh | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/podman-seafile/ci_build-images.sh b/podman-seafile/ci_build-images.sh index a931469..8320b8f 100755 --- a/podman-seafile/ci_build-images.sh +++ b/podman-seafile/ci_build-images.sh @@ -12,19 +12,20 @@ buildfolder=/tmp/seafile-$$ if ! podman image exists ${seafile_image}:${seafile_release}; then mkdir ${buildfolder} && if git clone --depth=1 https://github.com/haiwen/seafile-docker.git ${buildfolder}/ ; then - sed_in_place "^FROM phusion" "FROM docker.io/phusion" ${buildfolder}/image/seafile_${seafile_release%.*}/Dockerfile && + sed_in_place "^FROM ubuntu" "FROM docker.io/ubuntu" ${buildfolder}/image/seafile_${seafile_release%.*}/Dockerfile && 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' 'wget -q https://download.seadrive.org' ${buildfolder}/image/seafile_${seafile_release%.*}/Dockerfile && sed_in_place 'tar -zxvf' 'tar -zxf' ${buildfolder}/image/seafile_${seafile_release%.*}/Dockerfile && + sed_in_place 'COPY scripts_11.0' 'COPY scripts/scripts_11.0' ${buildfolder}/image/seafile_${seafile_release%.*}/Dockerfile && TMPDIR=${HOME} podman image build \ -t ${seafile_image}:${seafile_release} \ -f ${buildfolder}/image/seafile_${seafile_release%.*}/Dockerfile \ ${buildfolder} || retval=false podman image prune -a -f --filter dangling=true podman image prune -a -f --filter intermediate=true - podman image rm -f $(podman image list -a -q -- phusion/baseimage) + podman image rm -f $(podman image list -a -q -- ubuntu) fi rm -rf ${buildfolder} eval "$retval" diff --git a/podman-seafile/vars.sh b/podman-seafile/vars.sh index 9e2b6c0..62d329f 100644 --- a/podman-seafile/vars.sh +++ b/podman-seafile/vars.sh @@ -3,7 +3,7 @@ mariadb_release='10.6' memcached_release='1.6' seafile_image='git.garbaye.fr/garbaye/seafile-mc' -seafile_release='10.0.1' +seafile_release='11.0.4' ## default vars : override with ENV var listen_if="${GARBAYE_SEAFILE_ENV_LISTENIF:-127.0.0.1}" listen_port="${GARBAYE_SEAFILE_ENV_LISTENPORT:-8082}"