Skip to content

Commit

Permalink
fix: Fix build in environments without Python 2
Browse files Browse the repository at this point in the history
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
haslersn committed Jan 12, 2022
1 parent 4ef594c commit 7533ab4
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1,040 deletions.
Loading

0 comments on commit 7533ab4

Please sign in to comment.