nrfjprog not installing in Docker image

I am trying to create Docker image with all the tools to build and flash the board. But I have the problem with nrfjprog:

$ nrfjprog
bash: nrfjprog: command not found

Nordic command line tools are installed in Docker image by this command:

#
# Nordic command line tools
#
RUN echo "Target architecture: $arch" && \
case $arch in \
"amd64") \
;; \
"arm64") \
;; \
esac && \
if [ ! -z "$NCLT_URL" ]; then \
mkdir tmp && cd tmp && \
wget -qO - "${NCLT_URL}" | tar xz && \
DEBIAN_FRONTEND=noninteractive apt-get -y install ./*.deb && \
cd .. && rm -rf tmp ; \
else \
echo "Skipping nRF Command Line Tools (not available for $arch)" ; \
fi
There is no nrfjprog and no mergehex in /bin folder but have J-Link in /opt/SEGGER

Parents Reply Children
Related