From c94bd5248f009f6cbc1caf09abf4abee9b6ee057 Mon Sep 17 00:00:00 2001 From: "David M. Klein" <4+leander19961@noreply.localhost> Date: Mon, 24 Aug 2026 15:16:34 +0200 Subject: [PATCH] =?UTF-8?q?docker/sync/Dockerfile=20hinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker/sync/Dockerfile | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 docker/sync/Dockerfile diff --git a/docker/sync/Dockerfile b/docker/sync/Dockerfile new file mode 100644 index 0000000..3e74753 --- /dev/null +++ b/docker/sync/Dockerfile @@ -0,0 +1,23 @@ +FROM rockylinux:latest + +RUN dnf install -y \ + dnf-plugins-core \ + createrepo_c \ + nginx \ + cronie \ + git \ + jq \ + yq \ + openssh-clients \ + && dnf clean all + +COPY sync.sh /usr/local/bin/sync.sh +COPY entrypoint.sh /entrypoint.sh +COPY nginx.conf /etc/nginx/conf.d/repo.conf +RUN chmod +x /usr/local/bin/sync.sh /entrypoint.sh \ + && rm -f /etc/nginx/conf.d/default.conf + +VOLUME /data/repo +EXPOSE 80 + +ENTRYPOINT ["/entrypoint.sh"] \ No newline at end of file