Skip to content

Adding ENTRYPOINT to omit code-server at the CLI. #155

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

Closed
wants to merge 22 commits into from

Conversation

ay-b
Copy link

@ay-b ay-b commented Mar 9, 2019

Having code-server at the ENTRYPOINT will free the CMD line, so launching that container will no longer require writing the binary name after image name and will not confuse people anymore.

code-asher and others added 22 commits March 6, 2019 18:15
* Add task for packaging release

* Modify package task to package a single binary

This is so it can be used as part of the build/release script.

* Package release as part of Travis deploy

* Set platform env var

* Add arch env var

* Make version available to the code

* Use tar for Linux and zip for Mac & Windows
* Open localhost URL with --open

* Catch errors on opn

Co-Authored-By: fand <[email protected]>
Dockerfile: cleanup and add en_US.UTF-8 locale
* repo: add a pull request template

* Dockerfile: include arch when copying

Thanks @yush1ga and @zerdos
* Update VS Code to 1.32.0

* Update patch

Most changes are moved files, most notably shell.contribution.ts which
is now main.contribution.ts.

Also:
- repl.ts no longer uses isMacintosh
- shell.ts doesn't exist
- added back the commented-out CSP headers

* Use es6 target for bootstrap-fork

* Directly reference cross-env binary

yarn and npm find the binary just fine when running the tasks from the
root but it doesn't work if you run one of those tasks directly from
within those directories.

* Update import paths and bootstrap-fork ignores

* Increase memory limit for building default extensions

* Fix invalid regex in Firefox

* Update startup function

* Fix global.require error

* Update zip extract arguments

* Update travis to minimum required Node version

* Always chmod executable dependencies

Fixes EACCESS errors for users that had the files unpacked before we
added the chmod call.

* Remove unused var declaration
* impove .dockerignore

* impove .dockerignore
* ci: enable travis npm cache

* ci: upgrade travis version

Thanks @zerdos

* ci: switch to using yarn cache
Forgot to move this to the new file when upgrading to 1.32.0.
Moving `code-server` to ENTRYPOINT will allow omitting it from the CLI launch.
@nhooyr
Copy link
Contributor

nhooyr commented Mar 9, 2019

Very nice change. Could you rebase off master?

@nhooyr
Copy link
Contributor

nhooyr commented Mar 9, 2019

See #170

Please don't open additional PRs for the same change, you can use git push --force to rewrite a PR.

@nhooyr nhooyr closed this Mar 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants