Add sudo for RHEL builds
RHEL does not include sudo in the default container image, while other RPM based distros do. As a result, some services don't work. Add sudo to the base image. Change-Id: I7014d8cbd90288456e5ab3badcd601ef9cdd0c87 Partially-Implements: blueprint rhel-based-image-support
This commit is contained in:
parent
f39396cf7f
commit
1d9659d2e0
@ -148,6 +148,7 @@ RUN yum install -y \
|
|||||||
python-webtest \
|
python-webtest \
|
||||||
python-werkzeug \
|
python-werkzeug \
|
||||||
python-wsme \
|
python-wsme \
|
||||||
|
sudo \
|
||||||
which \
|
which \
|
||||||
&& yum clean all
|
&& yum clean all
|
||||||
|
|
||||||
@ -174,6 +175,7 @@ RUN yum update -y \
|
|||||||
python-devel \
|
python-devel \
|
||||||
python-oslo-policy \
|
python-oslo-policy \
|
||||||
sqlite-devel \
|
sqlite-devel \
|
||||||
|
sudo \
|
||||||
tar \
|
tar \
|
||||||
which \
|
which \
|
||||||
&& yum clean all
|
&& yum clean all
|
||||||
|
Loading…
x
Reference in New Issue
Block a user