Skip to content

Commit

Permalink
Add separate script for dockerised build
Browse files Browse the repository at this point in the history
  • Loading branch information
keynmol committed Jun 25, 2024
1 parent e8f0b8d commit 1a068c6
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions dev/proto-generate-in-docker.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/usr/bin/env bash

set -xeuo pipefail

cd "$(dirname "${BASH_SOURCE[0]}")/.." # cd to repo root dir

IMAGE_NAME="sourcegraph/scip-bindings-env"

docker build . -t $IMAGE_NAME -f Dockerfile.bindings
docker run -v $(pwd):/src $IMAGE_NAME

0 comments on commit 1a068c6

Please sign in to comment.