-
Notifications
You must be signed in to change notification settings - Fork 27
Testing security #135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Testing security #135
Conversation
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-DEBIAN12-EXPAT-6227597 - https://snyk.io/vuln/SNYK-DEBIAN12-GDKPIXBUF-6207393 - https://snyk.io/vuln/SNYK-DEBIAN12-GDKPIXBUF-6207393 - https://snyk.io/vuln/SNYK-DEBIAN12-ZLIB-6008963 - https://snyk.io/vuln/SNYK-DEBIAN12-ZLIB-6008963
…bb46fba37 [Snyk] Security upgrade python from 3.10 to 3.13.0a4-slim
|
Hi @nlaurance I will review this branch |
| @@ -1,5 +1,5 @@ | |||
| # syntax = docker/dockerfile:1.4 | |||
| FROM python:3.10 AS compile-stage | |||
| FROM python:3.13.0a4-slim AS compile-stage | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| FROM python:3.13.0a4-slim AS compile-stage | |
| FROM python:3.12-slim AS compile-stage |
| FROM python:3.13.0a4-slim AS compile-stage | ||
| RUN --mount=type=cache,target=/var/cache/apt \ | ||
| apt update && \ | ||
| apt install -y --no-install-recommends \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should to add libraries for the compilation of Pillow 9.5 for Python 3.12
RUN --mount=type=cache,target=/var/cache/apt \
apt update && \
apt install -y --no-install-recommends \
build-essential gcc neovim fish less iputils-ping postgresql-client \
+ zlib1g-dev libjpeg-dev libraqm-dev libimagequant-dev libtiff-dev \
+ libfreetype6-dev liblcms2-dev libwebp-dev libharfbuzz-dev libfribidi-dev \
+ libtiff5-dev \
+ libwebp-dev \
ackwithout these libs, I can't compile the Docker image
No description provided.