dontpull : peerjs
This commit is contained in:
parent
bff0abb2a8
commit
860d3dd8ad
|
@ -9,7 +9,7 @@ ensure_not_root
|
||||||
|
|
||||||
ensure_container_not_exists ${container_name}
|
ensure_container_not_exists ${container_name}
|
||||||
|
|
||||||
if podman image exists ${upstream_images}:${version}; then
|
if ! podman image exists ${upstream_images}:${version}; then
|
||||||
podman image pull ${upstream_images}:${version} || exit 1
|
podman image pull ${upstream_images}:${version} || exit 1
|
||||||
fi
|
fi
|
||||||
podman run --name ${container_name} --user nobody -p ${listen_if}:${listen_port}:9000 -d ${upstream_images}:${version} &&
|
podman run --name ${container_name} --user nobody -p ${listen_if}:${listen_port}:9000 -d ${upstream_images}:${version} &&
|
||||||
|
|
Loading…
Reference in a new issue