Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Use remote_user to execute on_create_command and update_content_command (#54020)
KyleBarton7c45d93e5e0b
diff --git a/crates/dev_container/src/devcontainer_manifest.rs b/crates/dev_container/src/devcontainer_manifest.rsindex 9927a639542..04815f5406f 100644--- a/crates/dev_container/src/devcontainer_manifest.rs+++ b/crates/dev_container/src/devcontainer_manifest.rs@@ -1875,7 +1875,7 @@ RUN sed -i -E 's/((^|\s)PATH=)([^\$]*)$/\1\${PATH:-\3}/g' /etc/profile || true.run_docker_exec(&devcontainer_up.container_id,&remote_folder,- "root",+ &devcontainer_up.remote_user,&devcontainer_up.remote_env,command,)@@ -1889,7 +1889,7 @@ RUN sed -i -E 's/((^|\s)PATH=)([^\$]*)$/\1\${PATH:-\3}/g' /etc/profile || true.run_docker_exec(&devcontainer_up.container_id,&remote_folder,- "root",+ &devcontainer_up.remote_user,&devcontainer_up.remote_env,command,)@@ -2371,8 +2371,6 @@ fn image_from_dockerfile(dockerfile_contents: String, target: &Option<String>) -})}-// Container user things-// This should come from spec - see the docsfn get_remote_user_from_config(docker_config: &DockerInspect,devcontainer: &DevContainerManifest,