Jitsi : cleanup base and base-java images after building other images

This commit is contained in:
Gitouche 2022-02-25 10:23:10 +01:00
parent 31e01035f9
commit 402c510ae3
2 changed files with 3 additions and 1 deletions

View file

@ -2,7 +2,7 @@
pod_name='podman-jitsi'
service_name="pod-${pod_name}.service"
upstream_images="localhost/jitsi/base localhost/jitsi/base-java localhost/jitsi/jvb localhost/jitsi/jicofo localhost/jitsi/prosody localhost/jitsi/web"
upstream_images="localhost/jitsi/jvb localhost/jitsi/jicofo localhost/jitsi/prosody localhost/jitsi/web"
version='stable-6865'
confvolume='.jitsi-meet-cfg'
listen_if="${GARBAYE_JITSI_ENV_LISTENIF:-127.0.0.1}"

View file

@ -31,4 +31,6 @@ curl -s -- "https://codeload.github.com/jitsi/docker-jitsi-meet/tar.gz/refs/tags
podman build -t localhost/jitsi/web:${version} docker-jitsi-meet/web/ || exit -1
podman rmi -f $(podman images -f "dangling=true" -q)
fi
podman rmi localhost/jitsi/base-java:${version} localhost/jitsi/base-java:latest
podman rmi localhost/jitsi/base:${version} localhost/jitsi/base:latest
} ; rm -rf docker-jitsi-meet