Skip to content

Commit

Permalink
Fix armv7 build
Browse files Browse the repository at this point in the history
  • Loading branch information
adferrand committed Jun 19, 2023
1 parent 19c18f8 commit 42b2a6e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ COPY --from=constraints /tmp/dnsrobocert/constraints.txt /tmp/dnsrobocert/dist/*
ENV CONFIG_PATH /etc/dnsrobocert/config.yml
ENV CERTS_PATH /etc/letsencrypt

# Pin cryptography on armv7l arch to latest available and compatible version from pipwheels: 39.0.2
RUN [ "$(uname -m)" = "armv7l" ] && sed -i 's/cryptography==.*/cryptography==39.0.2/' /tmp/dnsrobocert/constraints.txt || true

RUN apt-get update -y \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
curl \
Expand Down

0 comments on commit 42b2a6e

Please sign in to comment.