We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 97f582c commit 6f9f87eCopy full SHA for 6f9f87e
Dockerfile
@@ -15,13 +15,21 @@ ENV PYTHONUNBUFFERED=1 \
15
ENV PATH="$POETRY_HOME/bin:$VENV_PATH/bin:$PATH"
16
ENV VIRTUAL_ENV=$VENV_PATH
17
18
+RUN set -ex \
19
+ && apt-get update \
20
+ && apt-get install --no-install-recommends -y \
21
+ libpq5 \
22
+ && rm -rf /var/lib/apt/lists/*
23
+
24
25
## builder-base image
26
FROM base as builder-base
-RUN apt-get update && \
- apt-get install --no-install-recommends -y \
27
+RUN apt-get install --no-install-recommends -y \
28
curl \
- build-essential
29
+ build-essential \
30
+ libpq-dev \
31
+ python3-dev \
32
33
34
RUN --mount=type=cache,target=/root/.cache \
35
curl -sSL https://install.python-poetry.org | python -
0 commit comments