createrepo-docker/Dockerfile
CSRBot adee8bd8c4
Some checks failed
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is failing
chore(deps): update dependency docker.io/library/rockylinux to v9.1
2022-12-31 09:11:32 +01:00

15 lines
350 B
Docker

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