Make package repo configurable

Make package repo (default rdo master) as ARG so it becomes
configurable during docker build, needed for offline or specific
version build.

Change-Id: I001dc69ec51b893070895e0fbb37aab8640e6fe4
This commit is contained in:
ashish.billore 2020-03-04 15:02:04 +09:00
parent ded6b6debc
commit 2e180457ef
1 changed files with 2 additions and 1 deletions

View File

@ -9,8 +9,9 @@ LABEL authors="Antoni Segura Puimedon<toni@kuryr.org>, Michał Dulko<mdulko@redh
ARG UPPER_CONSTRAINTS_FILE="https://releases.openstack.org/constraints/upper/master"
ARG OSLO_LOCK_PATH=/var/kuryr-lock
ARG PKG_YUM_REPO=https://rdoproject.org/repos/rdo-release.rpm
RUN yum install -y epel-release https://rdoproject.org/repos/rdo-release.rpm \
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 gcc python3-devel git