Skip to content

This docker container simplify building risc-v toolchain for Ergochip processor.

Notifications You must be signed in to change notification settings

mperov/docker-ubuntu16.04_builder_ergochip-toolchain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 

Repository files navigation

Ubuntu 16.04 Dockerfile

Contributors

This repository contains Dockerfile of Ubuntu for creating container which can simplify building of gcc-newlib toolchain for Ergochip processor.

Base Docker Image

Installation

  1. Install Docker
  2. Clone repo - git clone https://github.com/mperov/docker-ubuntu16.04_builder_ergochip-toolchain.git
  3. cd docker-ubuntu16.04_builder_ergochip-toolchain/
  4. 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!
  5. Check built image - docker images

Usage

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

Troubleshooting

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!

About

This docker container simplify building risc-v toolchain for Ergochip processor.

Topics

Resources

Stars

Watchers

Forks