Add yum to oraclelinux images
This commit is contained in:
parent
cc470d2105
commit
35d34fdbe0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user