Add build-essentials if architecture not supported
bcrypt needs to be built on arm64 for example
This commit is contained in:
parent
a2eba50b8e
commit
ada9762f81
|
@ -7,7 +7,7 @@ ARG NPM_RUN_BUILD_OPTS
|
||||||
|
|
||||||
# Install dependencies
|
# Install dependencies
|
||||||
RUN apt update \
|
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 \
|
&& gosu nobody true \
|
||||||
&& rm /var/lib/apt/lists/* -fR
|
&& rm /var/lib/apt/lists/* -fR
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue