Skip to content

Commit 593554d

Browse files
danh91claude
andcommitted
fix: add libc6-dev to Docker compile stage for pyzint C extension
The python:3.12.10-slim base image no longer includes C standard library headers. Add libc6-dev so pyzint and other C extensions can compile during the Docker build. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent fea3854 commit 593554d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

docker/api/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ ARG REQUIREMENTS="requirements.txt"
55
ARG REGISTRY_TOKEN
66
ARG REGISTRY_TOKEN_NAME
77

8-
RUN apt-get update -y && apt-get install -y --no-install-recommends gcc \
8+
RUN apt-get update -y && apt-get install -y --no-install-recommends gcc libc6-dev \
99
&& rm -rf /var/lib/apt/lists/*
1010

1111
RUN python -m venv /karrio/venv

docker/insiders/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ FROM python:3.12.10-slim AS compile-image
33

44
ARG REQUIREMENTS=./source.requirements.insiders.txt
55

6-
RUN apt-get update -y && apt-get install -y --no-install-recommends gcc \
6+
RUN apt-get update -y && apt-get install -y --no-install-recommends gcc libc6-dev \
77
&& rm -rf /var/lib/apt/lists/*
88

99
RUN python -m venv /karrio/venv

0 commit comments

Comments
 (0)