Skip to content

Commit

Permalink
Fix gcc error when building Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
tsundvoll committed Jan 9, 2024
1 parent a271c9c commit 39d9c6d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
FROM python:3.10-slim
FROM python:3.10.13-slim-bookworm

WORKDIR /app

ENV VIRTUAL_ENV=/venv
RUN python -m venv --copies $VIRTUAL_ENV
ENV PATH="$VIRTUAL_ENV/bin:$PATH"

RUN apt-get update
RUN apt-get install gcc python3-dev -y
RUN python -m pip install --upgrade pip

# Install dependencies before ISAR to cache pip installation
Expand Down

0 comments on commit 39d9c6d

Please sign in to comment.