summaryrefslogtreecommitdiffstats
path: root/mkview
diff options
context:
space:
mode:
Diffstat (limited to 'mkview')
-rw-r--r--mkview/Dockerfile13
1 files changed, 7 insertions, 6 deletions
diff --git a/mkview/Dockerfile b/mkview/Dockerfile
index c26705b..3209f25 100644
--- a/mkview/Dockerfile
+++ b/mkview/Dockerfile
@@ -1,18 +1,19 @@
# Generate repoview in repository tree
#
# Build:
-# docker build -t repoview .
+# podman build -t repoview .
#
# Usage:
-# docker run --user remi --mount type=bind,src=/home/rpmbuild/site/rpms,dst=/repo -ti repoview
+# podman run --mount type=bind,src=/home/rpmbuild/site/rpms,dst=/repo -ti repoview
#
FROM registry.access.redhat.com/ubi7:latest
-RUN groupadd -g 1000 remi
-RUN useradd -u 1000 -g 1000 remi
+#RUN groupadd -g 1000 remi
+#RUN useradd -u 1000 -g 1000 remi
-RUN install -o remi -g remi -d /repo
+#RUN install -o remi -g remi -d /repo
+RUN mkdir /repo
RUN rpm --import https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-7
RUN yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm && \
@@ -21,7 +22,7 @@ RUN yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.n
COPY mkrepoview /tmp/mkrepoview
RUN install -Dpm 755 /tmp/mkrepoview /usr/bin/mkrepoview
-USER remi
+#USER remi
CMD ["mkrepoview"]