Add gcc-c++ into containers to fix grpcio build

Seems like grpcio 1.28.1 requires C++ compiler to build. This commit
fixes our build issues by adding one to the containers.

Change-Id: I8421d066160774431f72e38d36b32870f7f56b4c
This commit is contained in:
Michał Dulko 2020-04-06 16:52:29 +02:00
parent c1884278cd
commit 1b48b76188
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ ARG PKG_YUM_REPO=https://rdoproject.org/repos/rdo-release.rpm
RUN yum install -y epel-release $PKG_YUM_REPO \ RUN yum install -y epel-release $PKG_YUM_REPO \
&& yum install -y --setopt=tsflags=nodocs python3-pip openvswitch sudo iproute libstdc++ pciutils kmod-libs \ && yum install -y --setopt=tsflags=nodocs python3-pip openvswitch sudo iproute libstdc++ pciutils kmod-libs \
&& yum install -y --setopt=tsflags=nodocs gcc python3-devel git && yum install -y --setopt=tsflags=nodocs gcc gcc-c++ python3-devel git
COPY . /opt/kuryr-kubernetes COPY . /opt/kuryr-kubernetes

View File

@ -5,7 +5,7 @@ ARG UPPER_CONSTRAINTS_FILE="https://releases.openstack.org/constraints/upper/mas
RUN yum install -y epel-release \ RUN yum install -y epel-release \
&& yum install -y --setopt=tsflags=nodocs python3-pip libstdc++ \ && yum install -y --setopt=tsflags=nodocs python3-pip libstdc++ \
&& yum install -y --setopt=tsflags=nodocs gcc python3-devel git && yum install -y --setopt=tsflags=nodocs gcc gcc-c++ python3-devel git
COPY . /opt/kuryr-kubernetes COPY . /opt/kuryr-kubernetes