-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Setting DOCKER_USER with updated home directory? #2465
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
Comments
We've tried to do this but were unable to get it to work correctly. See the justification in the current script:
|
Actually maybe we should support the second variable you mentioned. If |
@nhooyr Right, and because it's optional it plays nicely with existing configurations too. I've updated the original issue text with the final versions of the |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no activity occurs in the next 5 days. |
Hello, Those Thanks |
The marketplace settings were combined into a single JSON blob you
can set via the `EXTENSIONS_GALLERY` environment variable.
The valid keys are `serviceUrl`, `itemUrl`, and
`resourceUrlTemplate`.
Example with Open VSX:
```
{
serviceUrl: "https://open-vsx.org/vscode/gallery",
itemUrl: "https://open-vsx.org/vscode/item",
resourceUrlTemplate: "https://open-vsx.org/vscode/asset/{publisher}/{name}/{version}/Microsoft.VisualStudio.Code.WebResources/{path}",
}
```
Some info here in the docs as well:
https://github.com/coder/code-server/blob/main/docs/FAQ.md#how-do-i-use-my-own-extensions-marketplace
|
Yes but what are the up to date values for using the same data source as in OP's snippet ? |
Ah, that I cannot comment on; technically code-server is not allowed to use the official marketplace. |
This issue is more about deploying
code-server
usingDocker
, and relates to issue #2057 (I think). I think it makes sense to also change the home directory from/home/coder
and I've made minor changes to theentrypoint.sh
script for this:The matching Dockerfile we use.
(NOTE: Do NOT use the
SERVICE_URL
andITEM_URL
we are using in this Dockerfile as part of a public project!)@nhooyr I believe you made the entrypoint script changes some time ago, are there any plans to support behavior like this (i.e.
DOCKER_HOME
optional variable)?The text was updated successfully, but these errors were encountered: