docker build fails with python wheel error
Opened this issue · 0 comments
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
$