Add build-essentials if architecture not supported

bcrypt needs to be built on arm64 for example
This commit is contained in:
Chocobozzz 2021-03-05 10:18:19 +01:00
parent a2eba50b8e
commit ada9762f81
No known key found for this signature in database
GPG Key ID: 583A612D890159BE

View File

@ -7,7 +7,7 @@ ARG NPM_RUN_BUILD_OPTS
# Install dependencies
RUN apt update \
&& apt install -y --no-install-recommends openssl ffmpeg python ca-certificates gnupg gosu \
&& apt install -y --no-install-recommends openssl ffmpeg python ca-certificates gnupg gosu build-essential \
&& gosu nobody true \
&& rm /var/lib/apt/lists/* -fR