Skip to content

Commit

Permalink
ci: Install procps in base layer
Browse files Browse the repository at this point in the history
  • Loading branch information
farioas committed Jun 21, 2024
1 parent 617d3bb commit 087be08
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Dockerfile.app
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,14 @@ ENV PYTHONUNBUFFERED=1 \

ENV PATH="$POETRY_HOME/bin:$VENV_PATH/bin:$PATH"

RUN --mount=type=cache,target="/var/cache/apt",sharing=locked \
--mount=type=cache,target="/var/lib/apt/lists",sharing=locked \
set -eux; \
apt-get update; \
apt-get upgrade -y; \
apt-get install --no-install-recommends -y procps; \
apt-get autoremove -y

RUN --mount=type=cache,target=${PIP_CACHE_DIR},sharing=locked \
pip install poetry==${POETRY_VERSION}

Expand All @@ -38,7 +46,6 @@ RUN --mount=type=cache,target="/var/cache/apt",sharing=locked \
--mount=type=cache,target="/var/lib/apt/lists",sharing=locked \
set -eux; \
apt-get update; \
apt-get upgrade -y; \
apt-get install --no-install-recommends -y git gcc python3-dev; \
apt-get autoremove -y

Expand Down

0 comments on commit 087be08

Please sign in to comment.