Aktualisiere Dockerfile zur Verbesserung der Node.js-Installation
This commit is contained in:
parent
ebb850294c
commit
56029af24d
1 changed files with 4 additions and 3 deletions
|
|
@ -22,13 +22,14 @@ ARG NODE_VERSION=20
|
||||||
FROM ${BUILDER_IMAGE} AS package_installer
|
FROM ${BUILDER_IMAGE} AS package_installer
|
||||||
|
|
||||||
# install build dependencies
|
# install build dependencies
|
||||||
RUN curl -fsSL https://deb.nodesource.com/setup_${NODE_VERSION}.x
|
|
||||||
RUN apt-get update -y && apt-get install -y build-essential \
|
RUN apt-get update -y && apt-get install -y build-essential \
|
||||||
git \
|
git \
|
||||||
locales \
|
locales \
|
||||||
curl \
|
curl \
|
||||||
inotify-tools \
|
inotify-tools
|
||||||
nodejs \
|
|
||||||
|
RUN curl -fsSL "https://deb.nodesource.com/setup_${NODE_VERSION}.x" | bash
|
||||||
|
RUN apt-get install -y nodejs \
|
||||||
&& apt-get clean && rm -f /var/lib/apt/lists/*_*
|
&& apt-get clean && rm -f /var/lib/apt/lists/*_*
|
||||||
|
|
||||||
# prepare build dir
|
# prepare build dir
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue