mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-09 05:56:58 +02:00
Merge pull request #2213 from flatcar/tormath1/kernel
python: install feedparser for Kernel CVEs fetching
This commit is contained in:
commit
16f2327d48
File diff suppressed because one or more lines are too long
@ -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…
Reference in New Issue
Block a user