Selaa lähdekoodia
Add rustc to Docker image build environment (#9405)
This is needed to build the cryptography library, since it does not
provide wheels for ARMv7.
Fixes #9403
Signed-off-by: Dan Callahan <danc@element.io>
tags/v1.27.0
Dan Callahan
3 vuotta sitten
committed by
GitHub
vanhempi
commit
b8b172466f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 muutettua tiedostoa jossa
3 lisäystä ja
0 poistoa
-
changelog.d/9405.misc
-
docker/Dockerfile
|
|
@@ -0,0 +1 @@ |
|
|
|
Add rustc as a dependency when building Docker images. |
|
|
@@ -28,11 +28,13 @@ RUN apt-get update && apt-get install -y \ |
|
|
|
libwebp-dev \ |
|
|
|
libxml++2.6-dev \ |
|
|
|
libxslt1-dev \ |
|
|
|
rustc \ |
|
|
|
zlib1g-dev \ |
|
|
|
&& rm -rf /var/lib/apt/lists/* |
|
|
|
|
|
|
|
# Build dependencies that are not available as wheels, to speed up rebuilds |
|
|
|
RUN pip install --prefix="/install" --no-warn-script-location \ |
|
|
|
cryptography \ |
|
|
|
frozendict \ |
|
|
|
jaeger-client \ |
|
|
|
opentracing \ |
|
|
|