docker/syncer/Dockerfile aktualisiert
This commit is contained in:
+17
-11
@@ -8,18 +8,26 @@ FROM almalinux:latest
|
|||||||
# python3 -> Interpreter fuer appstream-gen.py
|
# python3 -> Interpreter fuer appstream-gen.py
|
||||||
RUN dnf install -y \
|
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"]
|
||||||
Reference in New Issue
Block a user