From dbaa2f370e38ce0fd8d97cd640949c390a04b8f1 Mon Sep 17 00:00:00 2001 From: Agoston Szepessy Date: Sat, 22 Jul 2017 19:56:20 -0400 Subject: [PATCH] Add dependencies to Dockerfile to build Redox --- docker/Dockerfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 5717fee..62ba20f 100755 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -8,7 +8,8 @@ ENV PATH $CARGO_HOME/bin:$PATH RUN apt-get update \ && apt-get install -y git gosu gcc fuse nasm qemu-utils pkg-config \ - libfuse-dev make curl file sudo apt-transport-https \ + libfuse-dev make curl file sudo apt-transport-https autoconf flex \ + bison texinfo \ && mkdir -p $CARGO_HOME \ && mkdir -p $RUSTUP_HOME \ && curl https://sh.rustup.rs > sh.rustup.rs \ @@ -19,7 +20,10 @@ RUN apt-get update \ && echo "deb $REDOX_TOOLCHAIN_APT /" >> /etc/apt/sources.list.d/redox.list \ && apt-get update \ && apt-get install -y --force-yes x86-64-elf-redox-newlib x86-64-elf-redox-binutils x86-64-elf-redox-gcc \ + && curl -O https://ftp.gnu.org/gnu/automake/automake-1.15.1.tar.gz \ + && tar -xvpf automake-1.15.1.tar.gz; cd automake-1.15.1; ./configure; make; make install; cd .. \ && cargo install xargo \ + && cargo install cargo-config \ && mkdir -p "$SRC_PATH" WORKDIR $SRC_PATH