Skip to content

hakshu25/solargraph-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

solargraph-docker

docker container of solargraph server for Visual Studio Code

Requirement

Install the docker engine in a way that suits your execution environment. Docker Engine

Setup

  1. Build docker image
$ cp YOUR_PROJECT_FOLDER/Gemfile YOUR_PROJECT_FOLDER/Gemfile.lock .
$ docker build -t vscode-solargraph:latest .

If you want to specify the ruby version, let's specify it with arg as follows

$ docker build -t vscode-solargraph:latest --build-arg RUBY_VERSION="x.x.x" .
  1. Start docker container
$ docker run -d --rm -p 8091:7658 --name solargraph vscode-solargraph
  1. Setup Visual Studio Code
"solargraph.transport": "external",
"solargraph.externalServer": {
    "host": "localhost",
    "port": 8091
}

About

Dockerfile of solargraph server for vscode

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published