createrepo-docker/Dockerfile
Markus Pesch 083f10c4f7
All checks were successful
continuous-integration/drone/push Build is passing
fix: replace curl with curl-minimal, add bash-completion
2023-02-05 10:18:02 +01:00

15 lines
361 B
Docker

FROM docker.io/library/rockylinux:9.1
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" ]