This adds a new make target to generate platform dependent files for openssl on non-linux machines. The scripts we currently have in place require linux. This adds a Dockerfile that installs the necessary dependencies to be able to generate these files. Previously, it was necessary to run `make -C deps/openssl/config` on a linux machine. Now, as long as docker is installed and in your `PATH`, it is possible to run `make gen-openssl`. PR-URL: https://github.com/nodejs/node/pull/34642 Reviewed-By: James M Snell <jasnell@gmail.com>
12 lines
300 B
Docker
12 lines
300 B
Docker
FROM ubuntu:20.04
|
|
|
|
VOLUME /node
|
|
|
|
RUN buildDeps='binutils build-essential vim nasm git' \
|
|
&& apt-get update \
|
|
&& apt-get install -y --no-install-recommends --force-yes $buildDeps \
|
|
&& apt-get clean \
|
|
&& apt-get autoremove -y \
|
|
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
|
|
|
WORKDIR /node
|