Skip to content
Discussion options

You must be logged in to vote

I'm not sure I understand your explanation. What is the connection between the authenticating with Github extension and testing the VS Code web standalone? Does code-server depend on serve-web?

Regardless, we were able to formulate a successful workaround with the following changes:

Dockerfile

ENTRYPOINT ["path to init script"]
# Removed the CMD below and moved to init script
# Run the s6 overlay services, e.g. start the code-server:
# CMD ["/init"]

init script

# removed this line
# exec "$@"
exec bash -c '
if [ -n "$GIT_TOKEN" ]; then
	git config --global credential.helper "cache --timeout=86400"
	git credential approve <<EOF
protocol=https
host=[github.com](http://github.com/)
username=…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@d-weems
Comment options

Answer selected by d-weems
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants