Commit e84cf3c7 authored by Stefan Lankes's avatar Stefan Lankes
Browse files

install only the required components of the toolchain

- do'not install libpthread, libomp, newlib
parent 1304a6b3
Pipeline #170980 passed with stage
in 60 minutes and 32 seconds
......@@ -16,18 +16,16 @@ RUN echo "deb [trusted=yes] bionic main
RUN apt-get -qq update
# Install required packets from ubuntu repository
RUN apt-get install -y --allow-unauthenticated binutils-hermit newlib-hermit-rs pte-hermit-rs gcc-hermit-rs libhermit-rs
RUN apt-get install -y --allow-unauthenticated binutils-hermit gcc-hermit-rs #newlib-hermit-rs pte-hermit-rs gcc-hermit-rs libhermit-rs
# Install Rust toolchain
RUN cp /src/config.toml /src/rust
RUN cd /src/rust && ./ install
#RUN PATH="/opt/hermit/bin:/root/.cargo/bin:${PATH}" /root/.cargo/bin/cargo install cargo-xbuild
#RUN PATH="/opt/hermit/bin:/root/.cargo/bin:${PATH}" /root/.cargo/bin/cargo install --git
#RUN PATH="/opt/hermit/bin:/root/.cargo/bin:${PATH}" /root/.cargo/bin/cargo install --git
# Clean up
RUN apt-get autoremove -y && apt-get clean -y && rm -rf /var/lib/apt/lists/*
RUN rm -rf /src
ENV PATH="/opt/hermit/bin:/root/.cargo/bin:${PATH}"
ENV XARGO_RUST_SRC="/root/.cargo/lib/rustlib/src/rust/src/"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment