createrepo-docker/Dockerfile
Markus Pesch ab3d615a2f
All checks were successful
continuous-integration/drone/push Build is passing
Initial Commit
2022-05-03 11:57:11 +02:00

15 lines
350 B
Docker

FROM docker.io/library/rockylinux:8.5
ARG CREATEREPO_VERSION
RUN yum update --assumeyes && \
yum install --assumeyes bash curl
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" ]