Dockerfile: install coap-cli

This commit is contained in:
Simon Duquennoy 2017-11-29 08:39:23 -08:00
parent a24a05f269
commit 1cc148c4b4
1 changed files with 6 additions and 0 deletions

View File

@ -77,6 +77,12 @@ RUN echo "#!/bin/bash\nant -Dbasedir=${COOJA} -f ${COOJA}/build.xml run" > ${HOM
# Enable IPv6 -- must be done at runtime, not in Dockerfile
#RUN sudo sysctl -w net.ipv6.conf.all.disable_ipv6=0
# Install coap-cli
RUN sudo apt-get install -y npm \
&& sudo apt-get clean \
&& sudo npm install coap-cli -g \
&& sudo ln -s /usr/bin/nodejs /usr/bin/node
# Working directory
WORKDIR ${CONTIKI_NG}