[Docker] Include rust in builder stage

The python cryptography library isn't able to be built without the rust
compiler for some stages the cross-platform buildx workflow. This hasn't
been the case in the past, but for some reason since upgrading to the
latest cryptography version there are now errors with installing that
package. Since dependencies in the builder stage are not included in the
final build, we can safely include rust as a fallback to ensure this
doesn't happen without bloating the size of the final build.
main
Ben Busby 2023-02-21 10:50:58 -07:00
parent fb8a2ea325
commit 3f827bbf19
No known key found for this signature in database
GPG Key ID: B9B7231E01D924A1
1 changed files with 2 additions and 1 deletions

View File

@ -5,7 +5,8 @@ RUN apk --update add \
libxml2-dev \ libxml2-dev \
libxslt-dev \ libxslt-dev \
openssl-dev \ openssl-dev \
libffi-dev libffi-dev \
rust
COPY requirements.txt . COPY requirements.txt .