| LABEL maintainer="Red Hat, Inc." vendor="Red Hat, Inc." |
| LABEL url="https://catalog.redhat.com/en/search?searchType=containers" |
| LABEL com.redhat.component="ubi9-container" name="ubi9" version="9.6" distribution-scope="public" |
| LABEL com.redhat.license_terms="https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI" |
| LABEL summary="Provides the latest release of Red Hat Universal Base Image 9." |
| LABEL description="The Universal Base Image is designed and engineered to be the base layer for all of your containerized applications, middleware and utilities. This base image is freely redistributable, but Red Hat only supports Red Hat technologies through subscriptions for Red Hat products. This image is maintained by Red Hat and updated regularly." |
| LABEL io.k8s.description="The Universal Base Image is designed and engineered to be the base layer for all of your containerized applications, middleware and utilities. This base image is freely redistributable, but Red Hat only supports Red Hat technologies through subscriptions for Red Hat products. This image is maintained by Red Hat and updated regularly." |
| LABEL io.k8s.display-name="Red Hat Universal Base Image 9" |
| LABEL io.openshift.expose-services="" |
| LABEL io.openshift.tags="base rhel9" |
| ENV container oci |
| COPY dir:93b2370e788e4031d822e4afa86c758173e584040bf1f336c2915ab3120b18f8 in / |
| COPY file:b37d593713ee21ad52a4cd1424dc019a24f7966f85df0ac4b86d234302695328 in /etc/yum.repos.d/. |
| CMD ["/bin/bash"] |
| COPY file:0667e9d31385a24c3aef13f2dd9ab6a7b71b3dfcfef5127d3c1e2ea2c838e5cb in /usr/share/buildinfo/content-sets.json |
| COPY file:0667e9d31385a24c3aef13f2dd9ab6a7b71b3dfcfef5127d3c1e2ea2c838e5cb in /root/buildinfo/content_manifests/content-sets.json |
| COPY file:017c51d5ecf0180a5523522cb4dab5bb041fc6cd3727bf78cd4302b9c05749b6 in /root/buildinfo/labels.json |
| LABEL "architecture"="aarch64" "vcs-type"="git" "vcs-ref"="a467c5c3b658cb31bf21105b08df3cffa0f60ca7" "org.opencontainers.image.revision"="a467c5c3b658cb31bf21105b08df3cffa0f60ca7" "build-date"="2025-09-18T08:47:31Z" "release"="1758184894" |
| LABEL maintainer="SUN-RPC Motif System" |
| LABEL description="Base image for distributed RPC applications" |
| LABEL version="1.0" |
| /bin/sh -c dnf update -y && (subscription-manager repos --enable codeready-builder-for-rhel-9-x86_64-rpms 2>/dev/null || dnf config-manager --set-enabled codeready-builder-for-rhel-9-$(arch)-rpms 2>/dev/null || echo "Warning: Could not enable CodeReady Builder repo - may not be needed for UBI") && dnf install -y gcc gcc-c++ make glibc-devel rpcbind libtirpc libtirpc-devel kernel-headers && (dnf install -y libnsl libnsl-devel 2>/dev/null || dnf install -y libnsl2 libnsl2-devel 2>/dev/null || echo "Warning: libnsl packages not available, using libtirpc only") && dnf clean all |
| WORKDIR /app |
| ENV RPC_MSGOUT=1 |
| ENV PORTMAP=1 |
| COPY file:aa9fe13a941ecc696cbd4adacbd9aa47d809a6c7bdef5541f948868e6ce61b72 in /app/ |
| COPY file:cbe6d95990f2df499291ed062e625d5a1708b0f6aaae1392738db970ea4d094a in /app/ |
| COPY file:16e339773bbf0d3733582aaf0246c37a4e9854d58c7c7c513867a83f0f1d6855 in /app/Makefile |
| COPY file:e8d9add8a3001fd0957fda6a1ef8613b464b1cdae8accb4b1287c2249ee3534a in /app/ |
| COPY file:7c4a4ab3031224dffb7417b85b12e36c985cf43844c6c0b47276dceb3ad06b4e in /app/ |
| COPY file:ea08339eed11c230d9c31c9fa3512fe96d0c427acf986dc989f8bd77b360c35c in /app/ |
| COPY file:3d683765d73e838dfd20f760ad482351b9ee05231420e769e68c4f45d559bfbd in /app/ |
| /bin/sh -c gcc -Wall -Wextra -std=c99 -g -O2 -I/usr/include/tirpc -c motif_rpc_xdr.c -o motif_rpc_xdr.o |
| /bin/sh -c groupadd -r motif && useradd -r -g motif motif && chown -R motif:motif /app |
| EXPOSE 111/udp 8888/udp |
| USER motif |
| LABEL app="motif-display" |
| LABEL description="Motif GUI application for displaying received RPC and multicast messages" |
| USER root |
| /bin/sh -c dnf install -y procps-ng net-tools iproute xorg-x11-server-Xvfb xorg-x11-xauth xorg-x11-fonts-misc motif motif-devel libX11-devel libXt-devel tigervnc-server xterm && dnf clean all |
| COPY file:80cec8f3801faa0ce9cfea76ed00a3674ae12fef4d3632cece58bd98d2c8b204 in /app/ |
| COPY file:d64c2543354fd62bc48d170fa699ed7a3cb31e75290c919e8a750242789973b0 in /app/ |
| /bin/sh -c gcc -Wall -Wextra -std=c99 -g -O2 -I/usr/include/tirpc app5_display.c motif_rpc_clnt.c motif_rpc_xdr.o -lXm -lXt -lX11 -ltirpc -lpthread -o app5_display && chmod +x app5_display && chmod +x display-entrypoint.sh |
| /bin/sh -c mkdir -p /root/.vnc /app/vnc && echo "vnc123" | vncpasswd -f > /root/.vnc/passwd && chmod 600 /root/.vnc/passwd |
| EXPOSE 5901/tcp 8888/udp |
| HEALTHCHECK --interval=30s --timeout=10s --start-period=20s --retries=3 CMD pgrep -f app5_display >/dev/null 2>&1 || grep -q app5_display /proc/*/cmdline 2>/dev/null || exit 1 |
| ENV APP_NAME="motif-display" |
| ENV LOG_LEVEL="INFO" |
| ENV SERVER_HOST="motif-server-service" |
| ENV MULTICAST_GROUP="224.0.0.1" |
| ENV MULTICAST_PORT="8888" |
| ENV DISPLAY=:1 |
| ENV VNC_RESOLUTION="1024x768" |
| ENV VNC_DEPTH="24" |
| CMD ["./display-entrypoint.sh"] |