Fix souci ipv6 dans le resolver nginx - podman specific (docker n a pas d IPv6)

This commit is contained in:
Gitouche 2022-11-15 21:41:19 +01:00
parent 8f6637c1fc
commit 4d2d04ea7a

View file

@ -38,6 +38,8 @@ curl -sSfL -- "https://github.com/jitsi/docker-jitsi-meet/archive/refs/tags/${ve
fi
if ! podman image exists git.garbaye.fr/garbaye/jitsi-web:${version}; then
build_base
# Patch nginx resolver config
sed_in_place "resolver {{ .Env.NGINX_RESOLVER }};" "resolver {{ .Env.NGINX_RESOLVER }} ipv6=off;" ${buildfolder}/web/rootfs/defaults/nginx.conf
podman build -t git.garbaye.fr/garbaye/jitsi-web:${version} ${buildfolder}/web/ || exit -1
fi
dangling_images=$(podman images -f "dangling=true" -q)