devtools: use docker-compose nodejs in nodejs.sh
Now that we can use the nodejs in the docker-compose file for running
e2e tests against different environments, switch back to using the
nodejs set up using docker-compose.
This reverts commit
Trust: Julie Qiu
@@ -10,13 +10,4 @@ set -e
# 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 run --net=host --rm -t \
- -e CI \
- -e GO_DISCOVERY_E2E_BASE_URL \
- -e GO_DISCOVERY_E2E_AUTHORIZATION \
- -e GO_DISCOVERY_E2E_QUOTA_BYPASS \
- -e PUPPETEER_SKIP_CHROMIUM_DOWNLOAD \
- -v `pwd`:/pkgsite \
- -w /pkgsite \
- node:14.17.0 $@
+docker-compose -f devtools/docker/docker-compose.yaml run nodejs $@
