monolith/utils/run-in-container.sh
2021-07-11 20:07:48 +02:00

10 lines
143 B
Bash

#!/bin/sh
DOCKER=docker
PROG_NAME=monolith
if which podman 2>&1 > /dev/null; then
DOCKER=podman
fi
$DOCKER run --rm Y2Z/$PROG_NAME "$@"