Title: PATH environment variable overwritten in version 4.0.1 using Docker image · Issue #4699 · coder/code-server · GitHub
Open Graph Title: PATH environment variable overwritten in version 4.0.1 using Docker image · Issue #4699 · coder/code-server
X Title: PATH environment variable overwritten in version 4.0.1 using Docker image · Issue #4699 · coder/code-server
Description: OS/Web Information Web Browser: Firefox 95.0.1 Local OS: Ubuntu 20.04 Remote OS: Remote Architecture: code-server --version: 4.0.1 Steps to Reproduce The problem can be reproduced by building the following minimal Docker image : FROM cod...
Open Graph Description: OS/Web Information Web Browser: Firefox 95.0.1 Local OS: Ubuntu 20.04 Remote OS: Remote Architecture: code-server --version: 4.0.1 Steps to Reproduce The problem can be reproduced by building the f...
X Description: OS/Web Information Web Browser: Firefox 95.0.1 Local OS: Ubuntu 20.04 Remote OS: Remote Architecture: code-server --version: 4.0.1 Steps to Reproduce The problem can be reproduced by building the f...
Opengraph URL: https://github.com/coder/code-server/issues/4699
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"PATH environment variable overwritten in version 4.0.1 using Docker image","articleBody":"## OS/Web Information\r\n\r\n- Web Browser: Firefox 95.0.1\r\n- Local OS: Ubuntu 20.04\r\n- Remote OS:\r\n- Remote Architecture:\r\n- `code-server --version`: 4.0.1\r\n\r\n## Steps to Reproduce\r\n\r\nThe problem can be reproduced by building the following minimal Docker image : \r\n\r\n```\r\nFROM codercom/code-server:4.0.1\r\nENV PATH=\"/home/coder/local/bin/conda/bin:${PATH}\"\r\nRUN echo $PATH\r\n```\r\nand running it as a local server in the browser as explained in the [installation guide](https://github.com/coder/code-server/blob/main/docs/install.md#docker).\r\n\r\n## Expected\r\n\r\nWhen opening a terminal in VSCode, the value of `$PATH` should be the same as the one echoed at the end of the `docker build` step. The behavior is correct when building the image from `code-server:3.12.0`.\r\n\r\n## Actual\r\n\r\nWhen building from `code-server:4.0.1`, the `$PATH` variable gets overwritten with the following path `/usr/lib/code-server/vendor/modules/code-oss-dev/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games`. If I run an interactive shell in the docker image using `docker exec`, the `$PATH` is as expected. But when opening VSCode in the browser, it is incorrect. I don't see any command in the `entrypoint.sh` script which modifies this variable.\r\n\r\nThank's for this great software.\r\n","author":{"url":"https://github.com/avouacr","@type":"Person","name":"avouacr"},"datePublished":"2022-01-07T11:49:39Z","url":"https://github.com/coder/code-server/issues/4699"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:14b7ac0b-4729-8d18-9b74-e48321465baa |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | ADBA:20AA01:2E47BEF:3AD043A:6B01A8EA |
| html-safe-nonce | 347bc91c7e581f7b99cd85007544409c11fbec3dc90211d6b9b1ed96105bbad2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBREJBOjIwQUEwMToyRTQ3QkVGOjNBRDA0M0E6NkIwMUE4RUEiLCJ2aXNpdG9yX2lkIjoiOTA2Mzc2NzUxMzg1NTIwMzYyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | a76545591e76997f1eec64f3f847960fff0ef3865360c027b25e8310b0f4b4e3 |
| hovercard-subject-tag | issue:1096247859 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/coder/code-server/4699/issue_layout |
| twitter:image | https://opengraph.githubassets.com/82cc7ac63b4ed9922f3578c74a7fd2438a285ac68ec03cde7d191666363e6cad/coder/code-server/issues/4699 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/82cc7ac63b4ed9922f3578c74a7fd2438a285ac68ec03cde7d191666363e6cad/coder/code-server/issues/4699 |
| og:image:alt | OS/Web Information Web Browser: Firefox 95.0.1 Local OS: Ubuntu 20.04 Remote OS: Remote Architecture: code-server --version: 4.0.1 Steps to Reproduce The problem can be reproduced by building the f... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | avouacr |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/coder/code-server git https://github.com/coder/code-server.git |
| octolytics-dimension-user_id | 95932066 |
| octolytics-dimension-user_login | coder |
| octolytics-dimension-repository_id | 172953845 |
| octolytics-dimension-repository_nwo | coder/code-server |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 172953845 |
| octolytics-dimension-repository_network_root_nwo | coder/code-server |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width