Skip to content

Conversation

@nlaurance
Copy link
Contributor

No description provided.

@matrixise
Copy link
Contributor

Hi @nlaurance

I will review this branch

@matrixise matrixise self-requested a review May 28, 2024 04:58
@@ -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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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 \
Copy link
Contributor

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 \
         ack

without these libs, I can't compile the Docker image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants