This repository contains Dockerfile of Ubuntu for creating container which can simplify building of gcc-newlib toolchain for Ergochip processor.
- Install Docker
- Clone repo -
git clone https://github.com/mperov/docker-ubuntu16.04_builder_ergochip-toolchain.git
cd docker-ubuntu16.04_builder_ergochip-toolchain/
- Build Docker image -
docker build --build-arg GitLabLogin='your login' --build-arg GitLabPassword='your password' -t mperov/ubuntu16.04_builder_ergochip-toolchain .
Don't worry! Your password is needed for cloning toolchain. You can check this in Dockerfile! - Check built image -
docker images
To get installer and uninstaller:
docker cp `docker create ubuntu16.04_builder_ergochip-toolchain`:/root/risc-v_toolchain_installer.sh .
docker cp `docker create ubuntu16.04_builder_ergochip-toolchain`:/root/risc-v_toolchain_uninstaller.sh .
For trying toolchain or rebuilding it you may run container:
docker run -it --rm mperov/ubuntu16.04_builder_ergochip-toolchain
If your GitLab login and/or password contains special symbols, e.g. @, you may use hex code instead of special symbol. For example, special symbol @ is 0x40 in hex code.
So, in your password use %40 instead of @ - GitLabPassword='p%40ssword'
instead of GitLabPassword='p@ssword'
What about other symbols? You can get hex code from ASCII table!