File tree Expand file tree Collapse file tree 2 files changed +3
-11
lines changed Expand file tree Collapse file tree 2 files changed +3
-11
lines changed Original file line number Diff line number Diff line change 162
162
{
163
163
"slug" : " code-server" ,
164
164
"displayName" : " code-server" ,
165
- "url" : " http://${containerEnv:CODE_SERVER_HOST }:${containerEnv:CODE_SERVER_PORT}/${containerEnv:CODE_SERVER_FOLDER} " ,
165
+ "url" : " http://${localEnv:FEATURE_CODE_SERVER_HOST:127.0.0.1 }:${localEnv:FEATURE_CODE_SERVER_PORT:8080}/ " ,
166
166
"openIn" : " tab" ,
167
167
"share" : " owner" ,
168
- "icon" : " /icons/web.svg" ,
169
- "order" : 1 ,
170
- "group" : " Web Editors"
168
+ "icon" : " /icon/code.svg" ,
169
+ "group" : " ${localEnv:FEATURE_CODE_SERVER_APP_GROUP:Web Editors}"
171
170
}
172
171
]
173
172
}
Original file line number Diff line number Diff line change @@ -22,13 +22,6 @@ if [[ -n $WORKSPACE ]]; then
22
22
CODE_SERVER_WORKSPACE=" $WORKSPACE "
23
23
fi
24
24
25
- # Serialize these options in the container environment for reference in JSON.
26
- cat << EOF >> /etc/environment
27
- CODE_SERVER_HOST=$HOST
28
- CODE_SERVER_PORT=$PORT
29
- CODE_SERVER_FOLDER=?folder=$CODE_SERVER_WORKSPACE
30
- EOF
31
-
32
25
FLAGS=()
33
26
FLAGS+=(--auth " $AUTH " )
34
27
FLAGS+=(--bind-addr " $HOST :$PORT " )
You can’t perform that action at this time.
0 commit comments