createrepo-docker/Dockerfile
Markus Pesch e98e980dc7
All checks were successful
continuous-integration/drone/push Build is passing
fix(renovate): automerge patch versions of used container images in docker files
2023-06-18 21:53:18 +02:00

15 lines
370 B
Docker

FROM docker.io/library/rockylinux:9.2.20230513
ARG CREATEREPO_VERSION
RUN yum update --assumeyes && \
yum install --assumeyes bash bash-completion
RUN if [ -z ${CREATEREPO_VERSION+x} ]; then \
yum install --assumeyes createrepo_c; \
else \
yum install --assumeyes createrepo_c-${CREATEREPO_VERSION}; \
fi
ENTRYPOINT [ "/usr/bin/createrepo" ]