kdkeyser / reasonml-docker

Docker with ReasonML + VSCode + plugin installed
9 stars 1 forks source link

Error when running ./run-docker.sh #1

Open wpcarro opened 5 years ago

wpcarro commented 5 years ago

Hey. Thanks for making this. Sounds really promising to have a playpen for ReasonML development. I'm getting an error when I run run-docker.sh, which unfortunately is preventing me from using this.

Anyone else seeing the same?

Package google-chrome-stable is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'google-chrome-stable' has no installation candidate
The command '/bin/sh -c apt-get update -q && apt-get install -y --no-install-recommends       google-chrome-stable       nodejs' returned a non-zero code: 100
dirname: missing operand
Try 'dirname --help' for more information.
invalid argument "type=bind,source=,target=" for "--mount" flag: target is required
See 'docker run --help'.
kdkeyser commented 5 years ago

The run-docker.sh script uses the SSH_AUTH_SOCK to forward ssh authentication to the container. The error you get dirname: missing operand, probably is caused by SSH_AUTH_SOCK not being set.

I use ssh-agent to expose this in my terminal (e.g. https://kb.iu.edu/d/aeww )

I am not sure about the message about google-chrome-stable being unavailable. I tried rebuilding the container from scratch, and did not see that issue.