aboutsummaryrefslogtreecommitdiff
path: root/devtools/nodejs.sh
blob: 2e5f4443a5186e1315930b21a1aac0e214c6586d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/env bash

# Copyright 2021 The Go Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.

set -e

# Script for running a nodejs docker image.
# It passes env variables for e2e tests,
# mounts the pwd into a volume in the container at /pkgsite,
# and sets the working directory in the container to /pkgsite.
docker-compose -f devtools/docker/compose.yaml run nodejs $@