Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use multi-stage build to create CI container #187

Open
jbush001 opened this issue Jan 5, 2020 · 1 comment
Open

Use multi-stage build to create CI container #187

jbush001 opened this issue Jan 5, 2020 · 1 comment

Comments

@jbush001
Copy link
Owner

jbush001 commented Jan 5, 2020

Currently, the build container is created by copying files from the host install, which is messy and not fully reproducible:

https://github.com/jbush001/NyuziProcessor/blob/master/scripts/build_container.sh

Instead, use the new multi-stage build feature to Docker to build the compiler and Verilator inside a container:

https://docs.docker.com/develop/develop-images/multistage-build/

@jbush001
Copy link
Owner Author

jbush001 commented Jan 5, 2020

Also, should use build output artifacts from jbush001/NyuziToolchain#107 instead of having to rebuild the compiler.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant