Brief Description
-----------------
The starlingx/k8s-cni-sriov container image is built with RHEL7.6 as the base OS. This is an issue as starlingx is an open-source project and doesn't have a license to use RHEL. This bug is opened to investigate if this image can be based on an open-source distribution instead.
Starlingx doesn't modify the k8s-cni-sriov image. It's built so that it can be locked down on a specific SHA (to align on the code base that was tested).
The upstream docker file is used by starlingx:
$ cat k8s-cni-sriov.stable_docker_image
BUILDER=docker
LABEL=k8s-cni-sriov
DOCKER_REPO=https://github.com/intel/sriov-cni.git
DOCKER_REF=9e4c973b2ac517c64867e33d61aee152d70dc330
Brief Description k8s-cni- sriov container image is built with RHEL7.6 as the base OS. This is an issue as starlingx is an open-source project and doesn't have a license to use RHEL. This bug is opened to investigate if this image can be based on an open-source distribution instead.
-----------------
The starlingx/
Starlingx doesn't modify the k8s-cni-sriov image. It's built so that it can be locked down on a specific SHA (to align on the code base that was tested).
The upstream docker file is used by starlingx: sriov.stable_ docker_ image /github. com/intel/ sriov-cni. git REF=9e4c973b2ac 517c64867e33d61 aee152d70dc330
$ cat k8s-cni-
BUILDER=docker
LABEL=k8s-cni-sriov
DOCKER_REPO=https:/
DOCKER_
https:/ /github. com/intel/ sriov-cni/ tree/9e4c973b2a c517c64867e33d6 1aee152d70dc330
So the build is using this as the Dockerfile: /github. com/intel/ sriov-cni/ blob/9e4c973b2a c517c64867e33d6 1aee152d70dc330 /Dockerfile
https:/
This file is what’s defining the base.
A more recent baseline of this repo appears to have the default image build based on alpine, with RHEL7 as a secondary option.
Severity
--------
This is not a functional issue. It's a licensing issue.
Steps to Reproduce k8s-cni- sriov container image
------------------
Query the OS version in the starlingx/
Expected Behavior
------------------
Only opensource licenses are used in components used by starlingx
Actual Behavior
----------------
The above image is based on enterprise source code.
Reproducibility
---------------
Reproducible
System Configuration ------- ------
-------
N/A
Branch/Pull Time/Commit ------- ------- --
-------
master 2019-09-13
Last Pass k8s-cni- sriov container image
---------
This has been an issue since the introduction of the starlingx/
Timestamp/Logs
--------------
N/A
Test Activity
-------------
Other - normal system use