From 825625314c5827dddee692d10b8b57e3c37eb087 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 26 Nov 2021 07:18:09 +0100 Subject: switch to podman --- mkview/Dockerfile | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'mkview') 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"] -- cgit