Docker: by default, build non-standalone image (contiki-ng as a mount)

This commit is contained in:
Simon Duquennoy 2018-05-27 07:16:27 -07:00
parent 53caec12c0
commit bf11c827b0
1 changed files with 5 additions and 5 deletions

View File

@ -88,12 +88,12 @@ RUN git clone https://github.com/renode/renode.git \
&& ./build.sh
ENV PATH="${HOME}/renode:${PATH}"
# Optional: download Contiki-NG and pre-compile Cooja.
# Else, use a Docker bind mount to share the repo with the host.
# Docker run option:
# By default, we use a Docker bind mount to share the repo with the host,
# with Docker run option:
# -v <HOST_CONTIKI_NG_ABS_PATH>:/home/user/contiki-ng
RUN git clone --recursive https://github.com/contiki-ng/contiki-ng.git ${CONTIKI_NG}
RUN ant -q -f ${CONTIKI_NG}/tools/cooja/build.xml jar
# Alternatively, uncomment the next two lines to download Contiki-NG and pre-compile Cooja.
#RUN git clone --recursive https://github.com/contiki-ng/contiki-ng.git ${CONTIKI_NG}
#RUN ant -q -f ${CONTIKI_NG}/tools/cooja/build.xml jar
# Working directory
WORKDIR ${CONTIKI_NG}