-
-
Save addaleax/0d8cd6fabfc0ab52ee87b3099178c606 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:22.04 | |
ADD https://nodejs.org/dist/v19.4.0/node-v19.4.0-linux-x64.tar.gz /tmp | |
RUN cd /tmp && tar xvf node-v19.4.0-linux-x64.tar.gz | |
RUN echo "const crypto = require('crypto');crypto.setFips(1);console.log('start get random bytes');crypto.randomBytes(20, console.log);" > /tmp/repro.js | |
ENTRYPOINT ["/tmp/node-v19.4.0-linux-x64/bin/node", "/tmp/repro.js"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment