mirror of
https://github.com/flatcar/scripts.git
synced 2025-12-07 10:22:12 +01:00
python: install feedparser for Kernel CVEs fetching
packaging is not used with the new version of the show-fixed-kernel-cves script. Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
This commit is contained in:
parent
1b7c0c2ecc
commit
f3577f633f
@ -3,4 +3,4 @@
|
||||
FOLDER="$(dirname "$(readlink -f "$1")")"
|
||||
docker pull docker.io/python:alpine 2>/dev/null >/dev/null
|
||||
# Map the current and the script folder, install the pip package needed for flatcar-build-scripts/show-fixed-kernel-cves.py
|
||||
exec docker run --rm -i -v "${FOLDER}:${FOLDER}" -v "${PWD}:${PWD}" -w "${PWD}" docker.io/python:alpine sh -c "pip install packaging 2>/dev/null >/dev/null; python3 $*"
|
||||
exec docker run --rm -i -v "${FOLDER}:${FOLDER}" -v "${PWD}:${PWD}" -w "${PWD}" docker.io/python:alpine sh -c "( apk add --update git && pip install feedparser ) 2>/dev/null >/dev/null; python3 $*"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user