Skip to content

Commit b6518b5

Browse files
committed
Add build dependencies to python_builder stage of Dockerfile
We've added django-qsessions. One of its dependencies is ua-parser-rs, a Rust native extension. Our base image doesn't have have the required toolchain to build this extension, so we add it to the python_builder stage of the Dockerfile.
1 parent ed7169f commit b6518b5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ ARG poetry_version
2020

2121
WORKDIR /app
2222

23+
RUN apk add --no-cache libgcc libstdc++ build-base
24+
2325
# Set environment variables
2426
ENV PYTHONDONTWRITEBYTECODE=1
2527
ENV PYTHONUNBUFFERED=1

0 commit comments

Comments
 (0)