-
Notifications
You must be signed in to change notification settings - Fork 928
develop.sh: attempt to create a Docker template automatically #2627
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Excited about this!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is super exciting!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
cdroot | ||
CODERV2_HOST=http://127.0.0.1:3000 INSPECT_XSTATE=true yarn --cwd=./site dev || kill -INT -${SCRIPT_PID} & | ||
go run -tags embed cmd/coder/main.go server --address 127.0.0.1:3000 --in-memory --tunnel || kill -INT -${SCRIPT_PID} & | ||
CODER_HOST=http://127.0.0.1:3000 INSPECT_XSTATE=true yarn --cwd=./site dev || kill -INT -$$ & |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
did this var change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As far as I can tell it was always CODER_HOST
and not CODERV2_HOST
in webpack.dev.ts
Co-authored-by: Ben Potter <ben@coder.com>
This PR makes the following changes:
docker_host
anddocker_arch
to the exampledocker-code-server
templateparams.yaml
todocker-code-server
and updates theREADME.md
to reference these parametersscripts/develop.sh
will now attempt to create a template usingdocker-code-server
with the appropriate parameters for the environmentdocker-code-server
Additional drive-bys:
webpack.dev.ts
referencesCODER_HOST
and notCODERV2_HOST
; updateddevelop.sh
accordinglydevelop.sh
should now terminate child processes upon error.Tested on: