| LABEL maintainer="Red Hat, Inc." |
| LABEL vendor="Red Hat, Inc." |
| LABEL url="https://catalog.redhat.com/en/search?searchType=containers" |
| LABEL com.redhat.component="ubi9-minimal-container" name="ubi9/ubi-minimal" version="9.7" cpe="cpe:/a:redhat:enterprise_linux:9::appstream" 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 the minimal Red Hat Universal Base Image 9." |
| LABEL description="The Universal Base Image Minimal is a stripped down image that uses microdnf as a package manager. 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 Minimal is a stripped down image that uses microdnf as a package manager. 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 Minimal" |
| LABEL io.openshift.expose-services="" |
| LABEL io.openshift.tags="minimal rhel9" |
| ENV container oci |
| COPY dir:a84da6f36b88f4eb0d6c411f65b34c1a9d85150d3035dd516db4ece0c2569465 in / |
| COPY file:1376702515d596f414e3aa494e0daa6d408a6d2475c4aeca96bf9392f5287f69 in /etc/yum.repos.d/. |
| CMD ["/bin/bash"] |
| COPY file:93583a9ebbaeff1e36b48820b647eea1eef523f6627dacfb0b21af79f5a41b35 in /usr/share/buildinfo/content-sets.json |
| COPY file:93583a9ebbaeff1e36b48820b647eea1eef523f6627dacfb0b21af79f5a41b35 in /root/buildinfo/content_manifests/content-sets.json |
| COPY file:6326b4becf4dcc53eab9a0e80efe304ada5421165d0586862d969cb5fa826bd8 in /usr/share/buildinfo/labels.json |
| COPY file:6326b4becf4dcc53eab9a0e80efe304ada5421165d0586862d969cb5fa826bd8 in /root/buildinfo/labels.json |
| LABEL "architecture"="x86_64" "vcs-type"="git" "vcs-ref"="0ced2bbee24d5463d4530756a57f8db895246c48" "org.opencontainers.image.revision"="0ced2bbee24d5463d4530756a57f8db895246c48" "build-date"="2026-02-17T16:42:34Z" "org.opencontainers.image.created"="2026-02-17T16:42:34Z" "release"="1771346502"org.opencontainers.image.revision=0ced2bbee24d5463d4530756a57f8db895246c48,org.opencontainers.image.created=2026-02-17T16:42:34Z |
| WORKDIR / |
| RUN /bin/sh -c microdnf --refresh update -y && microdnf --nodocs --setopt=install_weak_deps=0 install -y acl `# rclone - getfacl/setfacl` openssh `# rsync/ssh - ssh key generation in operator` openssh-clients `# rsync/ssh - ssh client` openssh-server `# rsync/ssh - ssh server` perl `# rsync/ssh - rrsync script` stunnel `# rsync-tls` openssl `# syncthing - server certs` vim-minimal `# for mover debug` tar `# for mover debug` && microdnf --setopt=install_weak_deps=0 install -y `# docs are needed so rrsync gets installed for ssh variant` rsync `# rsync/ssh, rsync-tls - rsync, rrsync` && microdnf clean all && rm -rf /var/cache/yum # buildkit |
| COPY /workspace/manager /manager # buildkit |
| COPY /workspace/rclone/rclone /usr/local/bin/rclone # buildkit |
| COPY /mover-rclone/active.sh /mover-rclone/ # buildkit |
| RUN /bin/sh -c chmod a+rx /mover-rclone/*.sh # buildkit |
| COPY /workspace/restic/restic /usr/local/bin/restic # buildkit |
| COPY /mover-restic/entry.sh /mover-restic/ # buildkit |
| RUN /bin/sh -c chmod a+rx /mover-restic/*.sh # buildkit |
| COPY /mover-rsync/source.sh /mover-rsync/destination.sh /mover-rsync/destination-command.sh /mover-rsync/ # buildkit |
| RUN /bin/sh -c chmod a+rx /mover-rsync/*.sh # buildkit |
| RUN /bin/sh -c ln -s /keys/destination /etc/ssh/ssh_host_rsa_key && ln -s /keys/destination.pub /etc/ssh/ssh_host_rsa_key.pub && install /usr/share/doc/rsync/support/rrsync /usr/local/bin && SSHD_CONFIG="/etc/ssh/sshd_config" && sed -ir 's|^[#\s]*\(.*/etc/ssh/ssh_host_ecdsa_key\)$|#\1|' "$SSHD_CONFIG" && sed -ir 's|^[#\s]*\(.*/etc/ssh/ssh_host_ed25519_key\)$|#\1|' "$SSHD_CONFIG" && sed -ir 's|^[#\s]*\(PasswordAuthentication\)\s.*$|\1 no|' "$SSHD_CONFIG" && sed -ir 's|^[#\s]*\(KbdInteractiveAuthentication\)\s.*$|\1 no|' "$SSHD_CONFIG" && sed -ir 's|^[#\s]*\(AllowTcpForwarding\)\s.*$|\1 no|' "$SSHD_CONFIG" && sed -ir 's|^[#\s]*\(X11Forwarding\)\s.*$|\1 no|' "$SSHD_CONFIG" && sed -ir 's|^[#\s]*\(PermitTunnel\)\s.*$|\1 no|' "$SSHD_CONFIG" && sed -ir 's|^[#\s]*\(PidFile\)\s.*$|\1 /tmp/sshd.pid|' "$SSHD_CONFIG" && sed -ir 's|^[#\s]*\(UsePAM\)\s.*$|\1 no|' "$SSHD_CONFIG" && sed -ir 's|^[#\s]*\(GSSAPIAuthentication\)\s.*$|\1 no|' "$SSHD_CONFIG" && INCLUDED_SSH_CONFIG_DIR="/etc/ssh/sshd_config.d" && sed -ir 's|^[#\s]*\(UsePAM\)\s.*$|\1 no|' "$INCLUDED_SSH_CONFIG_DIR"/* && sed -ir 's|^[#\s]*\(GSSAPIAuthentication\)\s.*$|\1 no|' "$INCLUDED_SSH_CONFIG_DIR"/* # buildkit |
| COPY /mover-rsync-tls/client.sh /mover-rsync-tls/server.sh /mover-rsync-tls/ # buildkit |
| RUN /bin/sh -c chmod a+rx /mover-rsync-tls/*.sh # buildkit |
| COPY /workspace/syncthing/bin/syncthing /usr/local/bin/syncthing # buildkit |
| ENV SYNCTHING_DATA_TRANSFERMODE=sendreceive |
| COPY /mover-syncthing/config-template.xml /mover-syncthing/ # buildkit |
| RUN /bin/sh -c chmod a+r /mover-syncthing/config-template.xml # buildkit |
| COPY /mover-syncthing/config-template.xml /mover-syncthing/stignore-template /mover-syncthing/entry.sh /mover-syncthing/ # buildkit |
| RUN /bin/sh -c chmod a+r /mover-syncthing/config-template.xml && chmod a+r /mover-syncthing/stignore-template && chmod a+rx /mover-syncthing/*.sh # buildkit |
| COPY /workspace/diskrsync/bin/diskrsync /usr/local/bin/diskrsync # buildkit |
| COPY /workspace/diskrsync-tcp/diskrsync-tcp /diskrsync-tcp # buildkit |
| ARG builddate_arg=2026-03-05T13:56:09.851068116Z |
| ARG version_arg=v0.15.0+d2a30b4 |
| ENV builddate=2026-03-05T13:56:09.851068116Z |
| ENV version=v0.15.0+d2a30b4 |
| LABEL org.opencontainers.image.base.name=registry.access.redhat.com/ubi9-minimal |
| LABEL org.opencontainers.image.created=2026-03-05T13:56:09.851068116Z |
| LABEL org.opencontainers.image.description=VolSync data replication operator |
| LABEL org.opencontainers.image.documentation=https://volsync.readthedocs.io/ |
| LABEL org.opencontainers.image.licenses=AGPL-3.0-or-later |
| LABEL org.opencontainers.image.revision=v0.15.0+d2a30b4 |
| LABEL org.opencontainers.image.source=https://github.com/backube/volsync |
| LABEL org.opencontainers.image.title=VolSync |
| LABEL org.opencontainers.image.vendor=Backube |
| LABEL org.opencontainers.image.version=v0.15.0+d2a30b4 |
| ENTRYPOINT ["/bin/bash"] |
| COPY ./restic.patch /tmp/restic.patch # buildkit |
| RUN /bin/sh -c microdnf --refresh update -y && microdnf --nodocs --setopt=install_weak_deps=0 install -y patch && patch -d/ -p1 </tmp/restic.patch && microdnf remove -y patch && microdnf clean all && rm -rf /var/cache/yum && rm /tmp/restic.patch # buildkit |