Skip to content

Commit

Permalink
remove unnecessary installs
Browse files Browse the repository at this point in the history
  • Loading branch information
chloedia committed Nov 8, 2024
1 parent a80b556 commit 9cc5795
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions core/Dockerfile.test
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,15 @@ FROM python:3.11.6-slim-bullseye
# Install GEOS library, Rust, and other dependencies, then clean up
RUN apt-get clean && apt-get update && apt-get install -y \
curl \
gcc \
autoconf \
automake \
build-essential \
rm -rf /var/lib/apt/lists/*

libgeos-dev \
&& apt-get clean && rm -rf /var/lib/apt/lists/*
# Set the working directory
WORKDIR /code

# Install Poetry
RUN curl -sSL https://install.python-poetry.org | POETRY_HOME=/opt/poetry python && \
RUN curl -sSL https://install.python-poetry.org | python3 - && \
cd /usr/local/bin && \
ln -s /opt/poetry/bin/poetry && \
ln -s /root/.local/bin/poetry && \
poetry config virtualenvs.create false

# Add Poetry to PATH
Expand Down

0 comments on commit 9cc5795

Please sign in to comment.