Skip to content

Commit

Permalink
Fix for i686
Browse files Browse the repository at this point in the history
  • Loading branch information
adferrand committed Nov 3, 2020
1 parent 58d506d commit 64b1679
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Changelog

## master - CURRENT
### Modified
* Fix i686 docker image build

## 3.7.2 - 03/11/2020
### Added
Expand Down
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ ENV CERTS_PATH /etc/letsencrypt

RUN apk add --no-cache docker-cli bash \
&& python -m pip install --upgrade pip wheel \
&& pip install --no-deps /tmp/dnsrobocert/precompiled-wheels/*_$(uname -m).whl \
# Under i686 arch emulated with QEMU, uname -m still returns x86_64. Workaround by retrying explicitly with i686 wheels.
&& (pip install --no-deps /tmp/dnsrobocert/precompiled-wheels/*_$(uname -m).whl || pip install --no-deps /tmp/dnsrobocert/precompiled-wheels/*_i686.whl) \
&& pip install -c /tmp/dnsrobocert/constraints.txt /tmp/dnsrobocert/*.whl \
&& mkdir -p /etc/dnsrobocert /etc/letsencrypt \
&& rm -rf /tmp/dnsrobocert
Expand Down

0 comments on commit 64b1679

Please sign in to comment.