Code-server: Bus error on running code-server on heroku

Created on 8 Mar 2019  路  11Comments  路  Source: cdr/code-server

Steps to Reproduce

  1. Deploy code-server on heroku (Not sure weather supported or not)
  2. run ./code-server -p $PORT

I made this to deploy.

Attaching Error

image

All 11 comments

Haven't seen this before.

Which OS is this running? uname -a would help.

Copy option is not available on heroku bash so I am adding screenshot of output.

image

Is there any option to save logs or something?

Not sure what the could be. Can you try running the docker container inside Heroku?

I don't have much experience with docker container. I will read heoku docs and try to run a docker container there.

Has anyone been successful with running on heroku?

Marking as wontfix. Use their heroku.yml and build a custom stack for it.

Hi, guys.
i change image for run on heroku, you can try it https://hub.docker.com/r/ivang7/code-server-heroku

What changes were necessary?

i changed Docker file, add env variable PORT (need for heroku) and replace entrypoint to CMD command, also add download lastest release for include it in image, full file in gist:
https://gist.github.com/ivang7/7835a15277482b1a414f880ff7ca9723

I think all we need to do is add support for the $PORT variable to code-server. This bus error issue must have been something else.

Opened #1444

Was this page helpful?
0 / 5 - 0 ratings

Related issues

pchecinski picture pchecinski  路  3Comments

grant picture grant  路  3Comments

korzq picture korzq  路  3Comments

infogulch picture infogulch  路  3Comments

pchecinski picture pchecinski  路  3Comments