-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updating nrf-command-line-tools path in Dockerfile
- Loading branch information
1 parent
e7f6ede
commit 60c40d3
Showing
1 changed file
with
8 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ LABEL maintainer="Charles R. Portwood II <[email protected]>" | |
|
||
ENV GNU_INSTALL_ROOT="/root/gcc-arm-none-eabi-10.3-2021.10/bin/" | ||
ENV NORDIC_SDK_PATH="/root/nrf_sdk/16.0.0" | ||
ENV PATH="$PATH:/root/gcc-arm-none-eabi-10.3-2021.10/bin:/root/nrf-command-line-tools:/root/.local/bin" | ||
ENV PATH="$PATH:/root/gcc-arm-none-eabi-10.3-2021.10/bin:/root/nrf-command-line-tools/bin:/root/.local/bin" | ||
|
||
ENV BOARD="" | ||
ENV DEBUG=0 | ||
|
@@ -28,6 +28,12 @@ RUN cd $HOME && \ | |
tar -xf ${GCC_ARM_NAME_BZ} && \ | ||
rm -rf ${GCC_ARM_NAME_BZ} | ||
|
||
# Install NRF Command Line Tools | ||
RUN cd $HOME && \ | ||
curl -L https://www.nordicsemi.com/-/media/Software-and-other-downloads/Desktop-software/nRF-command-line-tools/sw/Versions-10-x-x/10-15-4/nrf-command-line-tools-10.15.4_Linux-amd64.tar.gz -o cli-tools.tar.gz && \ | ||
tar -xf cli-tools.tar.gz | ||
|
||
# Install NRF SDK | ||
RUN cd $HOME && \ | ||
mkdir -p $HOME/nrf_sdk/16.0.0 && \ | ||
wget https://www.nordicsemi.com/-/media/Software-and-other-downloads/SDKs/nRF5/Binaries/nRF5SDK160098a08e2.zip -O nRF5_SDK_16.0.0_98a08e2.zip && \ | ||
|
@@ -36,6 +42,7 @@ RUN cd $HOME && \ | |
unzip nRF5_SDK_16.0.0_98a08e2.zip > /dev/null 2>&1 && \ | ||
rm -rf nRF5_SDK_16.0.0_98a08e2.zip | ||
|
||
# Install micro-ecc | ||
RUN cd $HOME/nrf_sdk/16.0.0/external/micro-ecc && \ | ||
git clone https://github.com/kmackay/micro-ecc && \ | ||
chmod +x $HOME/nrf_sdk/16.0.0/external/micro-ecc/build_all.sh && \ | ||
|