#!/bin/sh set -e nix build -f default.nix ls -l sh result > oci IMGID=$(podman load < oci 2>&1 | tail -1 | awk '{ print $3 }') rm -f oci result echo echo ${IMGID} echo "dive podman://${IMGID}"