2022-07-07 20:20:38 +00:00
|
|
|
FROM docker.io/library/rockylinux:8.6
|
2022-05-03 07:42:57 +00:00
|
|
|
|
|
|
|
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" ]
|