Skip to content

Commit 9cc5795

Browse files
committed
remove unnecessary installs
1 parent a80b556 commit 9cc5795

1 file changed

Lines changed: 4 additions & 8 deletions

File tree

core/Dockerfile.test

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,15 @@ FROM python:3.11.6-slim-bullseye
44
# Install GEOS library, Rust, and other dependencies, then clean up
55
RUN apt-get clean && apt-get update && apt-get install -y \
66
curl \
7-
gcc \
8-
autoconf \
9-
automake \
107
build-essential \
11-
rm -rf /var/lib/apt/lists/*
12-
8+
libgeos-dev \
9+
&& apt-get clean && rm -rf /var/lib/apt/lists/*
1310
# Set the working directory
1411
WORKDIR /code
1512

16-
# Install Poetry
17-
RUN curl -sSL https://install.python-poetry.org | POETRY_HOME=/opt/poetry python && \
13+
RUN curl -sSL https://install.python-poetry.org | python3 - && \
1814
cd /usr/local/bin && \
19-
ln -s /opt/poetry/bin/poetry && \
15+
ln -s /root/.local/bin/poetry && \
2016
poetry config virtualenvs.create false
2117

2218
# Add Poetry to PATH

0 commit comments

Comments
 (0)