Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Fix build in environments without Python 2
Inspired by: prometheus/prometheus#8733 I successfully built this commit using the docker images: - node:16.13.2-stretch - node:16.13.2-buster - node:16.13.2-bullseye - node:16.13.2-alpine3.14 - node:16.13.2-alpine3.15 - node:17.3.1-stretch - node:17.3.1-buster - node:17.3.1-bullseye - node:17.3.1-alpine3.14 - node:17.3.1-alpine3.15 Note that building in any `node:17` image requires `NODE_OPTIONS=--openssl-legacy-provider` during `npm install`.
- Loading branch information