src/cmd/vendor/golang.org/x/telemetry/npx
raw| 1 | #!/bin/bash |
| 2 | # Copyright 2022 The Go Authors. All rights reserved. |
| 3 | # Use of this source code is governed by a BSD-style |
| 4 | # license that can be found in the LICENSE file. |
| 5 | |
| 6 | docker run \ |
| 7 | --rm \ |
| 8 | --volume $(pwd):/workspace \ |
| 9 | --workdir /workspace \ |
| 10 | --env NODE_OPTIONS="--dns-result-order=ipv4first" \ |
| 11 | --entrypoint npx \ |
| 12 | node:18.16.0-slim \ |
| 13 | $@ |