Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ACS
Public
HermitCore
hermit-docker
Commits
e84cf3c7
Commit
e84cf3c7
authored
Aug 13, 2019
by
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Dockerfile
View file @
e84cf3c7
...
...
@@ -16,18 +16,16 @@ RUN echo "deb [trusted=yes] https://dl.bintray.com/hermitcore/ubuntu 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
&&
./x.py
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 https://github.com/hermitcore/objmv.git
#RUN PATH="/opt/hermit/bin:/root/.cargo/bin:${PATH}" /root/.cargo/bin/cargo install --git https://github.com/hermitcore/pci_ids_parser.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/"
ENV
EDITOR=vim
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment