Skip to content
This repository has been archived by the owner on Dec 20, 2024. It is now read-only.

Commit

Permalink
fix: disable nrfutil on arm64
Browse files Browse the repository at this point in the history
See #25
  • Loading branch information
coderbyheart committed Oct 10, 2022
1 parent e670f35 commit 852fb9b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,17 +35,13 @@ RUN mkdir /workdir/project && \
python3 -m pip install --ignore-installed -U PyYAML && \
#
# Isolated command line tools
# No nrfutil 6+ release for arm64 (M1/M2 Macs), yet: https://github.com/NordicSemiconductor/pc-ble-driver-py/issues/227
# No nrfutil 6+ release for arm64 (M1/M2 Macs) and Python 3, yet: https://github.com/NordicSemiconductor/pc-ble-driver-py/issues/227
#
case $arch in \
"amd64") \
PIPX_HOME=/opt/pipx PIPX_BIN_DIR=/usr/local/bin \
pipx install 'nrfutil>=6.0.0' \
;; \
"arm64") \
PIPX_HOME=/opt/pipx PIPX_BIN_DIR=/usr/local/bin \
pipx install 'nrfutil<6.0.0' \
;; \
esac && \
#
# ClangFormat
Expand Down

0 comments on commit 852fb9b

Please sign in to comment.