FROM registry.fedoraproject.org/fedora:latest # Variables for URLs and versions ARG CENTOS_VERSION=10 ARG EPEL_VERSION=10 ARG RSYNC_MIRROR=rsync://mirror.in2p3.fr ARG CENTOS_PATH=/pub/linux/centos-stream/${CENTOS_VERSION}-stream/ ARG EPEL_PATH=/pub/epel/${EPEL_VERSION}/ # Install required tools RUN dnf install -y rsync nginx && \ dnf clean all # Copy exclusions file COPY rsync-excludes.txt /etc/rsync-excludes.txt # Build rsync options and sync repositories RUN <