docker/syncer/Dockerfile aktualisiert

This commit is contained in:
2026-08-26 15:39:53 +02:00
parent 0355654d28
commit f291985b32
+12 -6
View File
@@ -10,16 +10,24 @@ RUN dnf install -y \
dnf-plugins-core \ dnf-plugins-core \
createrepo_c \ createrepo_c \
appstream \ appstream \
python3 \
git \ git \
jq \ jq \
openssh-clients \ openssh-clients \
python3 \
python3-pyyaml \
jq \
cronie \
appstream \
gnupg2 \
rpm-sign \
findutils \
util-linux-core \
curl \
wget \ wget \
&& dnf clean all && dnf clean all
RUN wget -q https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 \ RUN wget https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 -O /usr/local/bin/yq &&\
-O /usr/local/bin/yq \ chmod +x /usr/local/bin/yq
&& chmod +x /usr/local/bin/yq
COPY docker/syncer/sync.sh /usr/local/bin/sync.sh COPY docker/syncer/sync.sh /usr/local/bin/sync.sh
COPY docker/syncer/sync_helpers.py /usr/local/bin/sync_helpers.py COPY docker/syncer/sync_helpers.py /usr/local/bin/sync_helpers.py
@@ -27,6 +35,4 @@ COPY docker/syncer/appstream-gen.py /usr/local/bin/appstream-gen.py
COPY docker/syncer/entrypoint.sh /entrypoint.sh COPY docker/syncer/entrypoint.sh /entrypoint.sh
RUN chmod +x /usr/local/bin/sync.sh /entrypoint.sh RUN chmod +x /usr/local/bin/sync.sh /entrypoint.sh
# Bewusst kein VOLUME und kein EXPOSE: die Volumes definiert docker-compose.yml,
# und ausgeliefert wird ueber den separaten nginx-Container.
ENTRYPOINT ["/entrypoint.sh"] ENTRYPOINT ["/entrypoint.sh"]