HASecuritySolutions / VulnWhisperer

Create actionable data from your Vulnerability Scans
https://twitter.com/VulnWhisperer
Apache License 2.0
1.36k stars 267 forks source link

Docker build fails with CentOS 8 #199

Closed scottmcgowan closed 4 years ago

scottmcgowan commented 5 years ago

Describe the bug VulnWhisperer Dockerfile pulls centos:latest, which points to CentOS 8 (released Sept 2019). CentOS 8 does not specify a python argument, it specifies python2 or python36. This causes the VulnWhisperer Docker build to fail.

Affected module Dockerfile

VulnWhisperer debug trail NA

To Reproduce Steps to reproduce the behavior:

  1. Remove any VulnWhisperer Docker containers and images
  2. Build Docker image from Dockerfile: docker build -t vulnwhisperer-local .
  3. On step 3/13 of the build, after RUN yum update -y completes, observe output: No match for argument: python There are following alternatives for "python": python2, python36 No match for argument: python-devel Error: Unable to find a match The command '/bin/sh -c yum update -y && yum install -y python python-devel git gcc && curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && python get-pip.py' returned a non-zero code: 1

Expected behavior The Dockerfile should build without error

System in which VulnWhisperer runs (please complete the following information):

qmontal commented 4 years ago

Closing as the PR was merged, thanks @scottmcgowan!