monolith/dist/run-in-container.sh

11 lines
143 B
Bash
Raw Normal View History

#!/bin/sh
DOCKER=docker
PROG_NAME=monolith
if which podman 2>&1 > /dev/null; then
DOCKER=podman
fi
2021-07-11 20:07:48 +02:00
$DOCKER run --rm Y2Z/$PROG_NAME "$@"