docker/sync/Dockerfile hinzugefügt

This commit is contained in:
2026-08-24 15:16:34 +02:00
parent aa1c36d6b4
commit c94bd5248f
+23
View File
@@ -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"]