pnoltes commented on PR #656: URL: https://github.com/apache/celix/pull/656#issuecomment-1736014098
> @pnoltes I tried the `.gitpod.Dockerfile` you put on your branch. That seems to start a container with the `gitpod` user, but I can't it to build Celix succesfully locally. The `gitpod` user has no access to write to the volume mounted files. > > I also tried with my suggested Containerfile to execute as a non-root user within the container, but didn't succeed. This seems to be a known 'issue' with volume mounts. Normally for operational applications for data volume mounts there is an entrypoint which `chown`s the volume mount to the uid/gid within the container so that the user within the container can write to it. > > When wanting to delete these files as a non-root user on the host you can do e.g. `podman unshare rm -rf *`. But for a development container that isn't something that is wanted IMO. > > Were you able to build Celix using that gitpod container locally? Yes, the main issue I had was the - at the time - I could not run (and thus also not debug) gtests from the IDE. (I think that should now be possible with `C++ TestMate`, but I am not a experienced vscode user.) But do note that this was about 3 years ago, I am not sure how much gitpod has changed. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@celix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org