Skip to content

Commit

Permalink
Simplify the example file
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Micene (RHT) committed Nov 11, 2024
1 parent 8cb3a16 commit 1a9b44b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions rhel/Containerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
FROM registry.redhat.io/rhel9/rhel-bootc
RUN dnf -y install mkpasswd
RUN pass=$(mkpasswd --method=SHA-512 --rounds=4096 redhat) && useradd -m -G wheel bootc-user -p $pass
RUN echo "%wheel ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/wheel-sudo
RUN dnf -y install httpd && \
systemctl enable httpd && \
Expand Down

0 comments on commit 1a9b44b

Please sign in to comment.