ironic/tools/vnc-container/Containerfile
Steve Baker 4ed44172b4 Add vnc-container image build
The files in tools/vnc-container allow a container image to be built
which supports Ironic's graphical console functionality.

For each node with an enabled graphical console, the service ironic-novncproxy
(or nova-novncproxy) will connect to a VNC server exposed by a container
running this image.

If the devstack ir-novnc serivce is enabled then this container image
will be built locally and ironic configured to used it for the systemd
console container provider.

This makes a devstack environment functional in accessing graphical
consoles for Dell, HPE and Supermicro.

Related-Bug: 2086715
Change-Id: I0842570cca22ac0e67d358c30225e8e08561f459
2025-03-02 22:27:33 +00:00

25 lines
447 B
Docker

FROM quay.io/centos/centos:stream9
RUN dnf -y install \
epel-release && \
dnf -y install \
chromium \
chromedriver \
dumb-init \
procps \
psmisc \
python3-requests \
python3-selenium \
x11vnc \
xorg-x11-server-Xvfb
ENV DISPLAY_WIDTH=1280
ENV DISPLAY_HEIGHT=960
ENV APP='fake'
ADD bin/* /usr/local/bin
ADD drivers /drivers
ENTRYPOINT ["/usr/bin/dumb-init", "--"]
CMD ["/usr/local/bin/start-xvfb.sh"]