2023-06-18 19:53:18 +00:00
|
|
|
FROM docker.io/library/rockylinux:9.2.20230513
|
2022-05-03 07:42:57 +00:00
|
|
|
|
|
|
|
ARG CREATEREPO_VERSION
|
|
|
|
|
|
|
|
RUN yum update --assumeyes && \
|
2023-02-05 09:18:02 +00:00
|
|
|
yum install --assumeyes bash bash-completion
|
2022-05-03 07:42:57 +00:00
|
|
|
|
|
|
|
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" ]
|