Skip to content

Instantly share code, notes, and snippets.

@cjtheham
Last active July 17, 2025 00:31
Show Gist options
  • Select an option

  • Save cjtheham/ad33ef15e31e5c7abb23a4bd0607253a to your computer and use it in GitHub Desktop.

Select an option

Save cjtheham/ad33ef15e31e5c7abb23a4bd0607253a to your computer and use it in GitHub Desktop.
Keysight ADS on Fedora 42 (or other Linux OS) with Podman
FROM ubuntu:20.04
ENV DISPLAY=$DISPLAY
ENV HPEESOF_DIR=/opt/ads
ENV LD_LIBRARY_PATH=/opt/ads/lib/linux_x86_64:$LD_LIBRARY_PATH
ENV PATH=/opt/ads/bin:$PATH
ENV ADS_LICENSE_FILE=<TODO: PATH TO YOUR LICENSE FILE HERE>
RUN ln -fs /usr/share/zoneinfo/Etc/UTC /etc/localtime && \
echo "Etc/UTC" > /etc/timezone
RUN apt update && apt install -y \
ksh \
libx11-6 libxext6 libxt6 libxmu6 libxi6 \
libxrender1 libxrandr2 libxinerama1 libxcursor1 \
libxdamage1 libxfixes3 libxft2 libxss1 libxtst6 \
libxcomposite1 libxpm4 libxaw7 libxv1 libxxf86vm1 \
libgl1-mesa-glx libglu1-mesa \
qt5-default libqt5gui5 libqt5widgets5 libqt5x11extras5 \
libxcb1 libxcb-icccm4 libxcb-image0 libxcb-shm0 \
libxcb-util1 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-res0 libxcb-ewmh2 libxcb-composite0 \
libxkbcommon0 libxkbcommon-x11-0 \
dbus-x11 x11-utils \
lsb-core lsb-release
VOLUME <TODO:PATH TO YOUR ADS INSTALL HERE>:/opt/ads:Z
VOLUME /tmp/.X11-unix:/tmp/.X11-unix:rw
CMD ["bash", "-c", "cd /opt/ads/bin && . ./ads; exec bash"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment