Skip to content

pip install when building a docker image takes too long #24

@id5h

Description

@id5h

Hi, I need to install lttbc when building a python docker image, based on python:3.11.4-slim-bookworm.

The command in the Dockerfile is:
RUN pip3 install --no-cache-dir numpy==1.24.4 lttbc==0.2.4

However, it takes more than 10 minutes to finish installing the build dependencies
(I get the message Installing build dependencies: still running...).
I do not see any dependencies for lttbc in the Readme.

For completeness, I also RUN apt-get install -y build-essential libblas-dev gcc before running the pip install stage.
I am on an M1-pro and building the image with the flag --platform linux/amd64.

Any ideas what might cause this problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions