run.sh: Update to podman and new image
This commit is contained in:
parent
5c9b35ba77
commit
ae71bdeeed
7
run.sh
7
run.sh
|
@ -3,10 +3,11 @@ BASEDIR="$(dirname $(realpath -s $0))"
|
|||
|
||||
mkdir -p "$HOME/.local/share/osu" "$BASEDIR/import"
|
||||
|
||||
docker run \
|
||||
podman run \
|
||||
--rm \
|
||||
-it \
|
||||
--name osu \
|
||||
--userns="keep-id:uid=$(id -u),gid=$(id -g)" \
|
||||
--device /dev/dri \
|
||||
--group-add $(getent group audio|cut -d: -f3) \
|
||||
--group-add $(getent group video|cut -d: -f3) \
|
||||
|
@ -14,9 +15,9 @@ docker run \
|
|||
-e PULSE_SERVER=/run/user/$(id -u)/pulse/native \
|
||||
-e WAYLAND_DISPLAY \
|
||||
-e XDG_RUNTIME_DIR \
|
||||
-v "$HOME/.local/share/osu/:/home/osu/osu/" \
|
||||
-v "$HOME/.local/share/osu/:/home/osu/.local/share/osu/" \
|
||||
-v "$BASEDIR/import/:$BASEDIR/import/" \
|
||||
-v "$HOME/.config/pulse/cookie:/run/pulse/cookie" \
|
||||
-v "${XDG_RUNTIME_DIR}:${XDG_RUNTIME_DIR}" \
|
||||
r.sbruder.de/osu \
|
||||
osu \
|
||||
$@
|
||||
|
|
Loading…
Reference in a new issue