From 2a75d30684654e0348bce9327c6f45f4e9ea71a5 Mon Sep 17 00:00:00 2001 From: Jonathan Hui Date: Mon, 17 Dec 2018 09:29:23 -0800 Subject: [PATCH] [docker] move dev environment setup to "Script to rule them all" (#3383) --- etc/docker/environment/Dockerfile | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/etc/docker/environment/Dockerfile b/etc/docker/environment/Dockerfile index 6d9e8ff8c..1d840a5c2 100644 --- a/etc/docker/environment/Dockerfile +++ b/etc/docker/environment/Dockerfile @@ -3,17 +3,9 @@ FROM ubuntu:18.04 ENV DEBIAN_FRONTEND noninteractive -# Install dependencies: -RUN apt-get update -qq +RUN apt-get -y update +RUN apt-get install -y git software-properties-common sudo -# Install packages needed for wpantund build and runtime: -RUN apt-get install -y build-essential git make autoconf \ - autoconf-archive automake dbus libtool gcc \ - g++ gperf flex bison texinfo ncurses-dev \ - libexpat-dev python sed python-pip gawk \ - libreadline6-dev libdbus-1-dev \ - libboost-dev inetutils-ping - -RUN apt-get install -y --force-yes gcc-arm-none-eabi -RUN pip install pexpect +RUN git clone https://github.com/openthread/openthread.git +RUN cd openthread && ./script/bootstrap