Browse Source

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
changes/66/711166/2
ashish.billore 2 years ago
parent
commit
2e180457ef
  1. 3
      cni.Dockerfile

3
cni.Dockerfile

@ -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

Loading…
Cancel
Save