Last active
August 18, 2021 20:16
-
-
Save imsahil007/7f6aeaae4f3dde569da6c034599985c4 to your computer and use it in GitHub Desktop.
CVE Binary tool development version Dockerimage
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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