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.

Dockerfile 440B

123456789101112131415
  1. FROM centos:8
  2. RUN dnf -y group install 'Development Tools'
  3. RUN dnf -y install sudo
  4. RUN dnf -y install dnf-plugins-core
  5. RUN dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
  6. RUN dnf config-manager --set-enabled powertools
  7. RUN dnf -y install xorg-x11-server-source
  8. RUN useradd -s /bin/bash -m rpm
  9. RUN echo >> /etc/sudoers
  10. RUN echo "rpm ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
  11. USER rpm
  12. WORKDIR /home/rpm