ThalesGroup / cva6-softcore-contest

National RISC-V student contest CV32A6
Other
39 stars 31 forks source link

Fix sw docker build bug #17

Closed 0BAB1 closed 10 months ago

0BAB1 commented 11 months ago

What does this PR do ?

Fix bug when building sw dicker image Update .gitignore to avoid uploading build files to this repo.

Why merge this PR ?

I noticed when trying to build sw docker image with this command :

docker build -f Dockerfile --build-arg UID=$(id -u) --build-arg GID=$(id -g) -t sw-docker:v1 .

That this cloning of openOCD takes too much time and times out. So i triedon my own environement to clone openOCD repo adding the --recursive flag and it worked

So i added it to the Dockerfile

About the .gitignore : I updated it because i did not want to upload a bunch of fpga build stuff. If it is not necessary, do not hesitate do modify before merge.

Best regards, BRH

0BAB1 commented 11 months ago

I also added a colored bash prompt (in blue to remind the docker theme) for the container, specifying we are currently working withing the sw-image instance environment.

0BAB1 commented 11 months ago

i restored the gitignore file.

github-actions[bot] commented 10 months ago

👋 Hi there!

This pull request seems inactive. Need more help or have updates? Feel free to let us know. If there are no updates within the next few days, we'll go ahead and close this PR. 😊