node/deps/openssl/config/Dockerfile
Evan Lucas 4b6036a07b build,deps: add gen-openssl target
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>
2020-08-25 10:51:19 -05:00

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