You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by bt...@apache.org on 2020/09/28 14:30:45 UTC

[incubator-nuttx-testing] branch master updated: X[docker]: add python3-pexpect support

This is an automated email from the ASF dual-hosted git repository.

btashton pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-testing.git


The following commit(s) were added to refs/heads/master by this push:
     new de3fd62  X[docker]: add python3-pexpect support
de3fd62 is described below

commit de3fd626f668b29942ce235a8700b8d29e52c710
Author: nietingting <ni...@xiaomi.com>
AuthorDate: Sun Sep 27 19:41:03 2020 +0800

    X[docker]: add python3-pexpect support
    
    Signed-off-by: nietingting <ni...@xiaomi.com>
---
 cibuild.sh              | 1 +
 docker/linux/Dockerfile | 1 +
 2 files changed, 2 insertions(+)

diff --git a/cibuild.sh b/cibuild.sh
index 3178cb3..5b627b1 100755
--- a/cibuild.sh
+++ b/cibuild.sh
@@ -58,6 +58,7 @@ function python-tools {
   PYTHONUSERBASE=$prebuilt/pylocal
   export PYTHONUSERBASE
   add_path $PYTHONUSERBASE/bin
+  pip3 install pexpect
 }
 
 function u-boot-tools {
diff --git a/docker/linux/Dockerfile b/docker/linux/Dockerfile
index 3a0d7a2..58797a4 100644
--- a/docker/linux/Dockerfile
+++ b/docker/linux/Dockerfile
@@ -113,6 +113,7 @@ RUN apt-get update -qq && DEBIAN_FRONTEND="noninteractive" apt-get install -y -q
   python-is-python3 \
   python3-pip \
   python3-setuptools \
+  python3-pexpect \
   make \
   cmake \
   ninja-build \