createrepo-docker/Dockerfile
CSRBot 74b8bc9d6d
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
chore(deps): update dependency docker.io/library/rockylinux to v9.2
2023-06-08 22:51:09 +02:00

15 lines
361 B
Docker

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