Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker build fails with python wheel error #30

Open
HelgeHesse opened this issue Jun 10, 2023 · 0 comments
Open

docker build fails with python wheel error #30

HelgeHesse opened this issue Jun 10, 2023 · 0 comments

Comments

@HelgeHesse
Copy link

HelgeHesse commented Jun 10, 2023

Hi,

the docker based build fails. Any ideas?

Regards,
Helge

$ docker-compose build
=> [builder 4/6] RUN pip install --upgrade pip 3.6s
=> [builder 5/6] COPY ./requirements.txt . 0.2s
=> [builder 6/6] RUN pip wheel --no-cache-dir --no-deps --wheel-dir /usr/src/app/wheels -r 11.9s
=> [stage-1 7/11] COPY --from=builder /usr/src/app/wheels /wheels 0.2s
=> [stage-1 8/11] COPY --from=builder /usr/src/app/requirements.txt . 0.1s
=> ERROR [stage-1 9/11] RUN pip install --no-cache /wheels/* 1.5s

[stage-1 9/11] RUN pip install --no-cache /wheels/*
#0 1.139 ERROR: bcrypt-4.0.1-cp36-abi3-manylinux_2_28_x86_64.whl is not a supported wheel on this platform.
#0 1.493 WARNING: You are using pip version 19.3.1; however, version 23.1.2 is available.
#0 1.493 You should consider upgrading via the 'pip install --upgrade pip' command.

failed to solve: executor failed running [/bin/sh -c pip install --no-cache /wheels/*]: exit code: 1
$

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant