-
Notifications
You must be signed in to change notification settings - Fork 150
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
File ownership error building TRE CLI in devcontainer #3804
Comments
@martinpeck @jjgriff93 as Mac users, any thoughts? Not something I've heard as an issue previously. @TonyWildish are you running the command manually? Or letting VSCode build the devcontainer as per
|
No, I'm building manually, not with VSCode. |
Can you please build within VSCode as per the docs - https://microsoft.github.io/AzureTRE/v0.15.2/tre-admins/setup-instructions/prerequisites/ . Let us know if the issue still exists. Thanks. |
I'm sure it works in VSCode, I just thought it would be useful for it to work outside that too, since it's a non-specific change. |
We only have a limited amount of resource and hence can't "support" workflows that don't align with the way we test and hence document how to deploy and work with the project. Although you say it's not specific - without fully testing each change on each platform (and every developers specific environment) nothing is certain. This is why we use devcontainers and have documentation with clear step by step instructions. If there are issue as a result of the following the documentation (there are likely issues in the docs as with most docs), then happy to discuss and look at a resolution. Thanks. |
Remember to label the issue with the appropriate area, and also assign it to yourself if you plan to work on the issue in the near future.
Describe the bug
Building the Devcontainer requires installing the TRE CLI, which is copied to
/tmp/cli
, then built in-place (lines 107+). This doesn't work unless the COPY command explicitly sets the ownership correctly, withCOPY --chown=vscode ...
Again, I'm running on a Mac, but since I need to build the devcontainer to be able to use it, I consider this worth fixing.
Steps to reproduce
docker build -t devcontainer -f .devcontainer/Dockerfile .
Azure TRE release version (e.g. v0.14.0 or main):
main
Deployed Azure TRE components - click the (i) in the UI:
none
The text was updated successfully, but these errors were encountered: