Skip to content

Commit d08e1e2

Browse files
authored
Merge pull request #2748 from jeffng-or/podman-compat-mods
Podman compatibility modifications
2 parents 756455b + 6ae185e commit d08e1e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

flow/util/docker_shell

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ fi
1919

2020
# Most of these options below has to do with allowing to
2121
# run the OpenROAD GUI from within Docker.
22-
docker run -u $(id -u ${USER}):$(id -g ${USER}) \
22+
docker run --privileged -u $(id -u ${USER}):$(id -g ${USER}) \
2323
-e LIBGL_ALWAYS_SOFTWARE=1 \
2424
-e "QT_X11_NO_MITSHM=1" \
2525
-e XDG_RUNTIME_DIR=/tmp/xdg-run \
@@ -32,7 +32,7 @@ docker run -u $(id -u ${USER}):$(id -g ${USER}) \
3232
-e YOSYS_EXE=$YOSYS_EXE \
3333
-e OPENROAD_EXE=$OPENROAD_EXE \
3434
-e KLAYOUT_CMD=$KLAYOUT_CMD \
35-
-v $WORKSPACE:/OpenROAD-flow-scripts/flow \
35+
-v $WORKSPACE:/OpenROAD-flow-scripts/flow:Z \
3636
--network host \
3737
$DOCKER_INTERACTIVE \
3838
${OR_IMAGE:-openroad/flow-ubuntu22.04-builder:latest} \

0 commit comments

Comments
 (0)