Open zenturacp opened 1 year ago
Hello! Glad you find this useful. Unfortunately, due to how devcontainer features work, the file has to be INSIDE the container (and the path has to be absolute, not relative). https://github.com/natescherer/devcontainers-custom-features/tree/main/src/powershell-resources#options and the example above it might be helpful. Let me know if you have additional questions!
Reopening this, as I realized that eventually there will be a way to use a host-based file once https://github.com/devcontainers/spec/issues/220 is added.
What is the path relative to in the requiredResourceJsonFile?
It tried to put the file into .devcontainers folder and put in .devcontainers/Requirements.json as an option - but it seems like the feature is not running relative to the workspace root when installting feature? The base64 works just fine - but is kind of not as easy as putting a file in the code repo with the actual requriements?
By the way - very good job! :-)