mirror of
https://github.com/maxpozdeev/mytinytodo.git
synced 2026-03-11 08:55:27 +00:00
can use podman for composer
This commit is contained in:
parent
a4cc7f4e40
commit
b7d9cf08a0
1 changed files with 6 additions and 1 deletions
|
|
@ -3,4 +3,9 @@
|
|||
#dir="$( dirname -- "$( readlink -f -- "$0"; )"; )"
|
||||
dir="$PWD"
|
||||
|
||||
docker run -it --rm -v "$dir:/app" composer $@
|
||||
app=$(which podman)
|
||||
if [ -z $app ]; then
|
||||
app="docker"
|
||||
fi
|
||||
|
||||
$app run -it --rm -v "$dir:/app" composer $@
|
||||
|
|
|
|||
Loading…
Reference in a new issue