Skip to content

Instantly share code, notes, and snippets.

@imsahil007
Last active August 18, 2021 20:16
Show Gist options
  • Save imsahil007/7f6aeaae4f3dde569da6c034599985c4 to your computer and use it in GitHub Desktop.
Save imsahil007/7f6aeaae4f3dde569da6c034599985c4 to your computer and use it in GitHub Desktop.
CVE Binary tool development version Dockerimage
FROM python:3.8-slim-buster
# Keeps Python from generating .pyc files in the container
ENV PYTHONDONTWRITEBYTECODE=1
# Turns off buffering for easier container logging
ENV PYTHONUNBUFFERED=1
WORKDIR /cve_bin_tool
# Install git
RUN apt update && apt install -y git
# Install cve-bin-tool development version from github
RUN python -m pip install git+https://github.com/intel/cve-bin-tool
# Let's fetch all the CVEs from NVD without scanning anything
RUN python -m cve_bin_tool.cli -u now -e / /
CMD ["/bin/bash"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment