aboutsummaryrefslogtreecommitdiffstats
path: root/.github/containers/centos9/Dockerfile
blob: 168dfe45db1df805b275fcd336c4ddcba66ed766 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
FROM quay.io/centos/centos:stream9

RUN dnf -y group install 'Development Tools'
RUN dnf -y install sudo
RUN dnf config-manager --set-enabled crb

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