Jitsi prosody : tentative fix for aarch64

This commit is contained in:
Gitouche 2022-02-25 00:07:50 +01:00
parent eeb0512491
commit dcab93075f

View file

@ -20,7 +20,11 @@ curl -s -- "https://codeload.github.com/jitsi/docker-jitsi-meet/tar.gz/refs/tags
} }
podman image exists localhost/jitsi/jvb:${version} || podman build -t localhost/jitsi/jvb:${version} docker-jitsi-meet/jvb/ podman image exists localhost/jitsi/jvb:${version} || podman build -t localhost/jitsi/jvb:${version} docker-jitsi-meet/jvb/
podman image exists localhost/jitsi/jicofo:${version} || podman build -t localhost/jitsi/jicofo:${version} docker-jitsi-meet/jicofo/ podman image exists localhost/jitsi/jicofo:${version} || podman build -t localhost/jitsi/jicofo:${version} docker-jitsi-meet/jicofo/
podman image exists localhost/jitsi/prosody:${version} || podman build -t localhost/jitsi/prosody:${version} docker-jitsi-meet/prosody/ podman image exists localhost/jitsi/prosody:${version} || {{
sed_in_place "luarocks install cyrussasl 1.1.0-1" "luarocks install cyrussasl 1.1.0-1 CRYPTO_LIBDIR=/usr/lib/$(uname -m)-linux-gnu/" docker-jitsi-meet/prosody/Dockerfile
sed_in_place "luarocks install net-url 0.9-1" "luarocks install net-url 0.9-1 CRYPTO_LIBDIR=/usr/lib/$(uname -m)-linux-gnu/" docker-jitsi-meet/prosody/Dockerfile
sed_in_place "luarocks install luajwtjitsi 2.0-0" "luarocks install luajwtjitsi 2.0-0 CRYPTO_LIBDIR=/usr/lib/$(uname -m)-linux-gnu/" docker-jitsi-meet/prosody/Dockerfile
podman build -t localhost/jitsi/prosody:${version} docker-jitsi-meet/prosody/
podman image exists localhost/jitsi/web:${version} || { podman image exists localhost/jitsi/web:${version} || {
podman build -t localhost/jitsi/web:${version} docker-jitsi-meet/web/ podman build -t localhost/jitsi/web:${version} docker-jitsi-meet/web/
podman rmi -f $(podman images -f "dangling=true" -q) podman rmi -f $(podman images -f "dangling=true" -q)