Compare commits

...

2 commits

Author SHA1 Message Date
Gitouche 339d917d17 Revert "Seafile : 10.0.0"
This reverts commit 0a7af2099b.
2023-02-26 23:37:01 +01:00
Gitouche 8405c0415a Revert "Seafile 10.0.0 - CI should fail"
This reverts commit e810a20ce7.
2023-02-26 23:35:33 +01:00
2 changed files with 7 additions and 7 deletions

View file

@ -12,13 +12,13 @@ buildfolder=/tmp/seafile-$$
if ! podman image exists ${seafile_image}:${seafile_release}; then
mkdir ${buildfolder} &&
git clone --depth=1 https://github.com/haiwen/seafile-docker.git ${buildfolder}/ &&
sed_in_place "^FROM phusion/baseimage:focal-1.2.0" "FROM docker.io/phusion/baseimage:focal-1.2.0" ${buildfolder}/image/seafile_10.0/Dockerfile &&
sed_in_place "SEAFILE_VERSION=" "SEAFILE_VERSION=${seafile_release}" ${buildfolder}/image/seafile_10.0/Dockerfile &&
mv ${buildfolder}/scripts_10.0 ${buildfolder}/image/seafile_10.0/ &&
sed_in_place "^FROM phusion/baseimage:focal-1.0.0" "FROM docker.io/phusion/baseimage:focal-1.0.0" ${buildfolder}/image/seafile_9.0/Dockerfile &&
sed_in_place "SEAFILE_VERSION=" "SEAFILE_VERSION=${seafile_release}" ${buildfolder}/image/seafile_9.0/Dockerfile &&
mv ${buildfolder}/scripts_9.0 ${buildfolder}/image/seafile_9.0/ &&
podman build -t ${seafile_image}:${seafile_release} \
-f ${buildfolder}/image/seafile_10.0/Dockerfile \
${buildfolder}/image/seafile_10.0 &&
podman rmi phusion/baseimage:focal-1.2.0
-f ${buildfolder}/image/seafile_9.0/Dockerfile \
${buildfolder}/image/seafile_9.0 &&
podman rmi phusion/baseimage:focal-1.0.0
rm -rf ${buildfolder}
else
echo "Image ${seafile_image}:${seafile_release} already built"

View file

@ -3,7 +3,7 @@
mariadb_release='10.5'
memcached_release='1.6'
seafile_image='git.garbaye.fr/garbaye/seafile-mc'
seafile_release='10.0.0'
seafile_release='9.0.10'
## default vars : override with ENV var
listen_if="${GARBAYE_SEAFILE_ENV_LISTENIF:-127.0.0.1}"
listen_port="${GARBAYE_SEAFILE_ENV_LISTENPORT:-8082}"