| FROM ubuntu:16.04 |
| |
| RUN apt-get update && apt-get install -y autoconf automake bison build-essential ca-certificates cmake curl dpkg-dev expect flex gdb git git-core gnupg kmod libboost-system-dev libboost-thread-dev libcurl4-openssl-dev libiptcdata0-dev libjsoncpp-dev liblog4cpp5-dev libprotobuf-c0-dev libprotobuf-dev libssl-dev libtool libxml2-dev ocaml pkg-config protobuf-compiler python sudo texinfo uuid-dev vim wget zlib1g-dev && \ |
| rm -rf /var/lib/apt/lists/* |
| |
| ADD 01_gcc_8.sh /root |
| RUN bash /root/01_gcc_8.sh |
| |
| ENV BINUTILS_PREFIX=/usr |
| |
| ADD 02_binutils.sh /root |
| RUN bash /root/02_binutils.sh |
| |
| ADD 03_sdk.sh /root |
| RUN bash /root/03_sdk.sh |
| |
| # Sixth, PSW |
| |
| ENV CODENAME xenial |
| ENV VERSION 2.9.101.2-xenial1 |
| |
| ADD 04_psw.sh /root |
| RUN bash /root/04_psw.sh |
| |
| # Seventh, Rust |
| |
| ENV rust_toolchain nightly-2020-04-07 |
| ADD 05_rust.sh /root |
| RUN bash /root/05_rust.sh |
| |
| ENV rust_toolchain= |
| ENV CODENAME= |
| ENV VERSION= |
| |
| WORKDIR /root |