diff --git a/emr-serverless-python-dependencies/Dockerfile-localstack b/emr-serverless-python-dependencies/Dockerfile-localstack index 6db7f53..ac8fc3a 100644 --- a/emr-serverless-python-dependencies/Dockerfile-localstack +++ b/emr-serverless-python-dependencies/Dockerfile-localstack @@ -10,6 +10,8 @@ ENV PATH="$VIRTUAL_ENV/bin:$PATH" # EMR 6.x uses Python 3.7 - limit Poetry version to 1.5.1 ENV POETRY_VERSION=1.5.1 RUN python3 -m pip install --upgrade pip +# The LocalStack image no longer ships curl +RUN apt-get update && apt-get install -y --no-install-recommends curl && rm -rf /var/lib/apt/lists/* RUN curl -sSL https://install.python-poetry.org | python3 - ENV PATH="$PATH:/root/.local/bin"