sourcegraph/dev/dev-sourcegraph-server.sh

13 lines
479 B
Bash
Raw Permalink Normal View History

#!/usr/bin/env bash
cd "$(dirname "${BASH_SOURCE[0]}")"/..
set -ex
# Build a Sourcegraph server docker image to run for development purposes. Note
# that this image is not exactly identical to the published sourcegraph/server
2019-01-01 08:17:42 +00:00
# images, as those include Sourcegraph Enterprise features.
time cmd/server/pre-build.sh
IMAGE=sourcegraph/server:0.0.0-DEVELOPMENT VERSION=0.0.0-DEVELOPMENT time cmd/server/build.sh
IMAGE=sourcegraph/server:0.0.0-DEVELOPMENT dev/run-server-image.sh