Add a Dockerfile that makes it easier to start with `sg`
Status | Pipeline | Created by | Stages | Actions |
---|---|---|---|---|
Stage: build Stage: test |
Download artifacts
No artifacts found | |||
Created by: grzesiek
This adds a simple Dockerfile
that makes it easier to start hacking with sg
on Linux in an isolated environment.
$ docker build . -f dev/sg/Dockerfile -t sgk:latest
$ docker run -d -v /var/run/docker.sock:/var/run/docker.sock -v /path/to/sourcegraph/:/opt/sourcegraph --name sgk sgk:latest
$ docker exec -ti sgk bash
$ sg doctor
✅ Check "docker" success!
✅ Check "redis" success!
✅ Check "postgres" success!
It still does not support running sg start
successfully:
nvm
to ensure that there is no node.js version mismatch../dev-private/enterprise/dev/test-license-generation-key.pem
to start the development environmentsg
in a container :)/cc @mrnugget
Status | Pipeline | Created by | Stages | Actions |
---|---|---|---|---|
Can't find HEAD commit for this branch | Stage: build Stage: test |
Download artifacts
No artifacts found | ||
0 |