You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -130,6 +132,7 @@ Container images are configured using parameters passed at runtime (such as thos
130
132
|`-e TZ=Europe/London`| Specify a timezone to use EG Europe/London |
131
133
|`-e PASSWORD=password`| Optional web gui password, if not provided, there will be no auth. |
132
134
|`-e SUDO_PASSWORD=password`| If this optional variable is set, user will have sudo access in the code-server terminal with the specified password. |
135
+
|`-e SUDO_PASSWORD_HASH=`| Optionally set sudo password via hash (takes priority over `SUDO_PASSWORD` var). Format is `$type$salt$hashed`. |
133
136
|`-e PROXY_DOMAIN=code-server.my.domain`| If this optional variable is set, this domain will be proxied for subdomain proxying. See [Documentation](https://github.com/cdr/code-server/blob/master/doc/FAQ.md#sub-domains)|
134
137
|`-v /config`| Contains all relevant configuration files. |
135
138
@@ -247,6 +250,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
247
250
248
251
## Versions
249
252
253
+
***23.12.20:** - Allow setting sudo password via hash using env var `SUDO_PASSWORD_HASH`.
250
254
***29.05.20:** - Add --domain-proxy support.
251
255
***21.05.20:** - Shrink images, install via yarn, fix arm32v7 build.
252
256
***18.05.20:** - Switch to multi-arch images, install via npm.
- { env_var: "TZ", env_value: "Europe/London", desc: "Specify a timezone to use EG Europe/London"}
45
+
- { env_var: "TZ", env_value: "Europe/London", desc: "Specify a timezone to use EG Europe/London"}
46
46
47
47
# optional container parameters
48
48
opt_param_usage_include_env: true
49
49
opt_param_env_vars:
50
-
- { env_var: "PASSWORD", env_value: "password", desc: "Optional web gui password, if not provided, there will be no auth."}
51
-
- { env_var: "SUDO_PASSWORD", env_value: "password", desc: "If this optional variable is set, user will have sudo access in the code-server terminal with the specified password."}
50
+
- { env_var: "PASSWORD", env_value: "password", desc: "Optional web gui password, if not provided, there will be no auth." }
51
+
- { env_var: "SUDO_PASSWORD", env_value: "password", desc: "If this optional variable is set, user will have sudo access in the code-server terminal with the specified password." }
52
+
- { env_var: "SUDO_PASSWORD_HASH", env_value: "", desc: "Optionally set sudo password via hash (takes priority over `SUDO_PASSWORD` var). Format is `$type$salt$hashed`." }
52
53
- { env_var: "PROXY_DOMAIN", env_value: "code-server.my.domain", desc: "If this optional variable is set, this domain will be proxied for subdomain proxying. See [Documentation](https://github.com/cdr/code-server/blob/master/doc/FAQ.md#sub-domains)" }
0 commit comments