-
Notifications
You must be signed in to change notification settings - Fork 26
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
Development container image #236
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One issue with deleting the old Dockerfile
and using this as the new dev container, the instructions for building conda packages are now out of date. The old instructions had the user build the dev container and then run a script. This doesnt work anymore since the Dockerfile has been removed. We can use the new dev container from this PR to build the conda images with a couple of tweaks. This PR should update those instructions so they work again. Instructions are here: https://github.com/nv-morpheus/MRC/blob/branch-23.01/ci/conda/README.md.
I think the easiest solution is to just make a single Dockerfile with a targets for base
, driver
, and development
. Doing it this way has a few advantages:
- You wont have to have the
yq
script look at the yaml file for the base image. It can just build it from earlier stages - External users who dont have NGC setup can still build development containers
- We can use the same Dockerfile for building, testing, development, and building conda packages.
This makes sense. Seems like we should have 4 targets with the additional two being for conda packaging and one for development. |
…red common get_image_full_name() function to allow for optional values for the server and tag prefix/suffix; get_image_full_name now requires a positional argument
…dated conda packaging docs to reflect the change
What's the advantage to this? It creates one large confusing |
I'll add the option to skip the conda install if an ENV is set when VS code evaluates the devcontainer or when devel.sh is called. I'd propose This can be a separate PR since I'd like to get the devcontainer kn main so that path is generally persistent across branches. If I'm in a branch without, which is all the other branches right now, then if I have to reload vs code, I have to swap bsck to the dev_image branch to successfully reload. |
What problem does this solve? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Two small changes
Codecov ReportBase: 0.23% // Head: 0.23% // No change to project coverage 👍
Additional details and impacted files@@ Coverage Diff @@
## branch-23.01 #236 +/- ##
============================================
Coverage 0.23% 0.23%
============================================
Files 349 349
Lines 9898 9898
Branches 4807 4807
============================================
Hits 23 23
Misses 9875 9875 Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
@gpucibot merge |
@gpucibot merge |
Resolves #203