mirror of
https://github.com/espressif/openthread.git
synced 2026-08-14 06:37:46 +00:00
[docker] modified environment Dockerfile to support Docker OT simulation (#7368)
* added inetutils-ping (provides ping6) * modified Dockerfile to add binaries required by Docker OT simulation codelab
This commit is contained in:
@@ -16,10 +16,14 @@ RUN set -x \
|
||||
python3-setuptools \
|
||||
software-properties-common \
|
||||
sudo \
|
||||
netbase \
|
||||
inetutils-ping \
|
||||
ca-certificates \
|
||||
&& update-ca-certificates \
|
||||
&& python3 -m pip install -U cmake \
|
||||
&& python3 -m pip install wheel
|
||||
|
||||
# setup openthread
|
||||
# set up openthread simulation cli example apps
|
||||
WORKDIR /
|
||||
COPY . openthread
|
||||
RUN set -x \
|
||||
@@ -27,5 +31,8 @@ RUN set -x \
|
||||
&& ./script/bootstrap \
|
||||
&& mkdir build \
|
||||
&& cd build \
|
||||
&& cmake -GNinja -DOT_PLATFORM=simulation .. \
|
||||
&& cmake -GNinja -DOT_COMMISSIONER=ON -DOT_JOINER=ON -DOT_PLATFORM=simulation .. \
|
||||
&& ninja
|
||||
|
||||
# set up ot-daemon
|
||||
RUN set -x ./script/cmake-build posix -DOT_DAEMON=ON
|
||||
|
||||
Reference in New Issue
Block a user