You've already forked createrepo-docker
This commit is contained in:
14
Dockerfile
Normal file
14
Dockerfile
Normal file
@ -0,0 +1,14 @@
|
||||
FROM docker.io/library/rockylinux:8.5
|
||||
|
||||
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" ]
|
Reference in New Issue
Block a user