You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
123456789101112131415 |
- FROM centos:8
-
- RUN dnf -y group install 'Development Tools'
- RUN dnf -y install sudo
- RUN dnf -y install dnf-plugins-core
- RUN dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
- RUN dnf config-manager --set-enabled powertools
- RUN dnf -y install xorg-x11-server-source
-
- RUN useradd -s /bin/bash -m rpm
- RUN echo >> /etc/sudoers
- RUN echo "rpm ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
-
- USER rpm
- WORKDIR /home/rpm
|