if ! podman image inspect "$IMG" >/dev/null; then
podman build -t "$IMG" -f - /run <<EOF
FROM fedora:latest
-RUN dnf install -y git strace gdb python3 python3-pytest gh rpmbuild jq yq util-linux-script ShellCheck \
+RUN dnf install -y git strace gdb python3 python3-pytest gh rpmbuild jq yq util-linux-script just \
+ openssl openssl-devel \
+ ShellCheck cargo rust rustfmt clippy golang \
+ && dnf install -y --setopt=install_weak_deps=False systemd \
&& dnf clean all
EOF
fi
-v /tmp:/tmp \
-w $PWD \
-e DISABLE_AUTOUPDATER=1 \
+ -e CARGO_HOME="$CARGO_HOME" \
+ -e GOPATH="$GOPATH" \
-e HOME=$HOME \
--device=/dev/kvm \
$IMG \