Skip to content

Commit

Permalink
Build deps for cryptography
Browse files Browse the repository at this point in the history
  • Loading branch information
abhinavsingh committed May 15, 2024
1 parent eb27f0f commit 441bdfc
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,21 @@ RUN pip install --upgrade pip && \
--no-index \
--find-links file:/// \
proxy.py && \
rm *.whl && \
pip install \
rm *.whl

RUN apk update && apk --no-cache add \
--virtual .builddeps \
gcc \
musl-dev \
libffi-dev \
openssl-dev \
python3-dev \
cargo \
rust
RUN pip install \
paramiko==3.4.0 \
cryptography==39.0.1 \
--prefer-binary
cryptography==39.0.1
RUN apk del .builddeps

# Use `--build-arg SKIP_OPENSSL=1` to disable openssl installation
RUN if [[ -z "$SKIP_OPENSSL" ]]; then apk update && apk add openssl; fi
Expand Down

0 comments on commit 441bdfc

Please sign in to comment.