1
0
Fork 0

Add yum/dnf to centos8 image

timestamps
dump_stack() 2023-05-11 08:04:13 +00:00
parent 5f0749155a
commit cc470d2105
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ RUN cp /etc/yum.repos.d/* $TMPDIR/etc/yum.repos.d/
RUN yum --installroot=$TMPDIR \
--releasever=8 \
-y install openssh-server openssh-clients
-y install openssh-server openssh-clients yum dnf
RUN chroot $TMPDIR /bin/sh -c 'useradd -m user'
RUN sed -i 's/root:\*:/root::/' $TMPDIR/etc/shadow