File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,6 +33,37 @@ RUN apt-get -y update \
3333 python3-yaml \
3434 time
3535
36+ # Runtime X11/xcb libraries for the Qt GUI build (--//:platform=gui).
37+ # Qt itself is hermetic (qt-bazel prebuilts), but the linked openroad binary
38+ # still resolves libX11/libxcb/libxkbcommon from the system at load time, so
39+ # without these every test against the gui binary dies at ld.so with
40+ # "libX11-xcb.so.1: cannot open shared object file". This is the runtime
41+ # (non -dev) subset of etc/DependencyInstaller.sh's GUI xcb list.
42+ RUN apt-get -y update \
43+ && apt-get -y install --no-install-recommends \
44+ libx11-6 \
45+ libx11-xcb1 \
46+ libsm6 \
47+ libice6 \
48+ libxcb1 \
49+ libxcb-cursor0 \
50+ libxcb-icccm4 \
51+ libxcb-image0 \
52+ libxcb-keysyms1 \
53+ libxcb-randr0 \
54+ libxcb-render0 \
55+ libxcb-render-util0 \
56+ libxcb-shape0 \
57+ libxcb-shm0 \
58+ libxcb-sync1 \
59+ libxcb-util1 \
60+ libxcb-xfixes0 \
61+ libxcb-xkb1 \
62+ libdbus-1-3 \
63+ libfontconfig1 \
64+ libxkbcommon0 \
65+ libxkbcommon-x11-0
66+
3667RUN groupadd -g 9000 user \
3768 && useradd -u 9000 -g 9000 -m -s /bin/bash user
3869USER user
You can’t perform that action at this time.
0 commit comments