1
0
Fork 0

Add yum to oraclelinux images

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

View File

@ -21,7 +21,7 @@ RUN yum --installroot=$TMPDIR \
--releasever=_VERSION_ \
--disablerepo='*' \
--enablerepo=ol_VERSION__baseos_latest \
-y install openssh-server openssh-clients dhclient
-y install openssh-server openssh-clients dhclient yum
RUN chroot $TMPDIR /bin/sh -c 'useradd -m user'
RUN sed -i 's/root:\*:/root::/' $TMPDIR/etc/shadow