Skip to content

Commit

Permalink
[Snyk] Security upgrade python from 3.9-slim-buster to 3.11.0-slim (#107
Browse files Browse the repository at this point in the history
)

* fix: Dockerfile to reduce vulnerabilities

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-DEBIAN10-GCC8-347558
- https://snyk.io/vuln/SNYK-DEBIAN10-GCC8-347558
- https://snyk.io/vuln/SNYK-DEBIAN10-GLIBC-559488
- https://snyk.io/vuln/SNYK-DEBIAN10-GLIBC-559488
- https://snyk.io/vuln/SNYK-DEBIAN10-SQLITE3-3167789

* Update tox.ini

* Update tox.ini

Co-authored-by: snyk-bot <[email protected]>
  • Loading branch information
ajinabraham and snyk-bot authored Dec 16, 2022
1 parent f005a35 commit e7a0a61
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.9-slim-buster
FROM python:3.11.0-slim

RUN apt-get update \
&& apt-get install gcc -y \
Expand Down
6 changes: 3 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,15 @@ commands =
[testenv:clean]
deps =
skip_install = true
whitelist_externals =
allowlist_externals =
bash
find
rm
commands =
find . -name "*.py[co]" -delete
bash -c 'find . -name "__pycache__" -exec rm -fr \{\} \; -prune'
bash -c 'find . -depth -name "*.egg-info" -exec rm -fr \{\} \;'
rm -rf .tox-semgrep
;rm -rf .tox-semgrep
rm -rf .pytest_cache
rm -rf build
rm -rf dist
Expand All @@ -87,4 +87,4 @@ ignore =
I100 ; Use python sort imports
SF01 ; Allow Private member access
R701 ; Function too complex
radon_max_cc = 10
radon_max_cc = 10

0 comments on commit e7a0a61

Please sign in to comment.