createrepo-docker/Dockerfile
CSRBot e62cb0af95
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
chore(deps): update docker.io/library/rockylinux docker tag to v9.3.20231119
2023-11-30 23:04:32 +00:00

15 lines
370 B
Docker

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