Entferne die Node.js-Installation aus dem Dockerfile und optimiere die Abhängigkeiten
This commit is contained in:
parent
56029af24d
commit
17c4b0dc66
1 changed files with 1 additions and 5 deletions
|
|
@ -17,7 +17,6 @@ ARG DEBIAN_VERSION=bookworm-20241223-slim
|
|||
|
||||
ARG BUILDER_IMAGE="hexpm/elixir:${ELIXIR_VERSION}-erlang-${OTP_VERSION}-debian-${DEBIAN_VERSION}"
|
||||
ARG RUNNER_IMAGE="debian:${DEBIAN_VERSION}"
|
||||
ARG NODE_VERSION=20
|
||||
####################################################################################################
|
||||
FROM ${BUILDER_IMAGE} AS package_installer
|
||||
|
||||
|
|
@ -26,10 +25,7 @@ RUN apt-get update -y && apt-get install -y build-essential \
|
|||
git \
|
||||
locales \
|
||||
curl \
|
||||
inotify-tools
|
||||
|
||||
RUN curl -fsSL "https://deb.nodesource.com/setup_${NODE_VERSION}.x" | bash
|
||||
RUN apt-get install -y nodejs \
|
||||
inotify-tools \
|
||||
&& apt-get clean && rm -f /var/lib/apt/lists/*_*
|
||||
|
||||
# prepare build dir
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue