Dateien nach "docker/syncer" hochladen
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
# Build-Kontext ist das Repo-Root (siehe docker-compose.yml: context: ..),
|
||||
# deshalb sind alle COPY-Pfade relativ zum Repo-Root angegeben.
|
||||
FROM almalinux:latest
|
||||
|
||||
# dnf-plugins-core -> "dnf download" und "dnf repomanage"
|
||||
# createrepo_c -> createrepo_c und modifyrepo_c
|
||||
# appstream -> appstreamcli fuer die optionale Katalog-Validierung
|
||||
# python3 -> Interpreter fuer sync_helpers.py
|
||||
RUN dnf install -y \
|
||||
dnf-plugins-core \
|
||||
createrepo_c \
|
||||
appstream \
|
||||
git \
|
||||
jq \
|
||||
openssh-clients \
|
||||
python3 \
|
||||
python3-pyyaml \
|
||||
cronie \
|
||||
gnupg2 \
|
||||
rpm-sign \
|
||||
findutils \
|
||||
util-linux-core \
|
||||
curl \
|
||||
wget \
|
||||
&& dnf clean all
|
||||
|
||||
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/entrypoint.sh /entrypoint.sh
|
||||
RUN chmod +x /usr/local/bin/sync.sh /entrypoint.sh
|
||||
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
Reference in New Issue
Block a user