CentOS / container-pipeline-service

Code, infrastructure and deployment backend for the CentOS Container Pipeline backing up build system for registry.centos.org
https://registry.centos.org
GNU General Public License v3.0
49 stars 27 forks source link

Updates container-capabilities scanner to understand 'null' value #621

Closed navidshaikh closed 6 years ago

navidshaikh commented 6 years ago

Fix OSIO #1535 : docker inspect will return null value if RUN label is absent in image under test. Container capabilities scanner was taking null value as RUN label value. Updated the scanner to understand null value and categorize it as RUN label is not available in image under test.

Also, updated the CMD instruction of scan-data container. Now it's /bin/sleep infinity.