2
0
mirror of https://github.com/Y2Z/monolith synced 2024-11-15 06:12:52 +00:00
monolith/utils/run-in-container.sh
2021-02-28 21:46:38 -10:00

11 lines
154 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 $PROG_NAME "$@"