Description of the issue
Installing docker-compose with
pip as per the instructions from the docs fails with
error: Can not find Rust compiler ---------------------------------------- ERROR: Failed building wheel for cryptography
It looks like the
cryptography dependency (now?) requires rust.
Of course it would not be a problem to install the rust compiler but then it should at least be mentioned in the docs. On the other hand I don’t think this is intentional, therefore the issue.
Context information (for bug reports)
Client: Docker Engine - Community Version: 19.03.12 API version: 1.40 Go version: go1.13.10 Git commit: 48a66213fe Built: Mon Jun 22 15:45:36 2020 OS/Arch: linux/amd64 Experimental: false Server: Docker Engine - Community Engine: Version: 19.03.12 API version: 1.40 (minimum version 1.12) Go version: go1.13.10 Git commit: 48a66213fe Built: Mon Jun 22 15:44:07 2020 OS/Arch: linux/amd64 Experimental: false containerd: Version: 1.2.13 GitCommit: 7ad184331fa3e55e52b890ea95e65ba581ae3429 runc: Version: 1.0.0-rc10 GitCommit: dc9208a3303feef5b3839f4323d9beb36df0a9dd docker-init: Version: 0.18.0 GitCommit: fec3683
Steps to reproduce the issue
Dockerfile to reproduce:
FROM docker:19-dind RUN apk add py-pip python3-dev libffi-dev openssl-dev gcc libc-dev make curl && \ pip install docker-compose
Building the image fails with the mentioned error message.
Building the image works without issues.
Stacktrace / full error message
Installing in a docker image