Skip to content
Snippets Groups Projects
Commit 998210bc authored by Jenkins's avatar Jenkins Committed by Gerrit Code Review
Browse files

Merge "Enable source for openstack-base for RPM distros"

parents a38868f9 fbb1842f
No related branches found
No related tags found
No related merge requests found
......@@ -140,31 +140,15 @@ RUN yum install -y https://rdo.fedorapeople.org/rdo-release.rpm \
{% endif %}
# Update packages
RUN yum update -y \
&& yum install -y \
epel-release \
gcc \
gcc-c++ \
git \
libffi-devel \
libxml2-devel \
libxslt-devel \
mariadb-devel \
mysql-devel \
openldap-devel \
openssl \
openssl-devel \
postgresql \
postgresql-devel \
python-devel \
sqlite-devel \
RUN yum -y install \
curl \
sudo \
tar \
which \
&& yum clean all
# endif for install type is source for RPM based distros
{% endif %}
# endif for install type is binary/rhos/rdo for RPM based distros
# endif for base_distro centos,fedora,oraclelinux,rhel
{% elif base_distro in ['ubuntu', 'debian'] %}
......
......@@ -38,8 +38,25 @@ RUN yum -y install \
{% endif %}
{% elif install_type == 'source' %}
{% if base_distro in ['fedora', 'centos', 'oraclelinux', 'rhel'] %}
RUN yum -y install \
gcc \
gcc-c++ \
libffi-devel \
libxml2-devel \
libxslt-devel \
mariadb-devel \
mysql-devel \
openldap-devel \
openssl-devel \
postgresql \
postgresql-devel \
python-devel \
sqlite-devel \
&& yum clean all
{% if base_distro in ['ubuntu', 'debian'] %}
{% elif base_distro in ['ubuntu', 'debian'] %}
RUN apt-get install -y --no-install-recommends \
curl \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment