This commit is contained in:
buanet
2024-01-08 11:20:45 +01:00
parent c86a608537
commit e2ca6793ff

View File

@@ -19,7 +19,7 @@ COPY userscripts /opt/userscripts
# Set up ioBroker # Set up ioBroker
RUN apt-get update && apt-get upgrade -y \ RUN apt-get update && apt-get upgrade -y \
# Install prerequisites # Install prerequisites
&& apt-get install -y \ && apt-get install -q -y --no-install-recommends \
apt-utils \ apt-utils \
ca-certificates \ ca-certificates \
cifs-utils \ cifs-utils \
@@ -34,17 +34,19 @@ RUN apt-get update && apt-get upgrade -y \
procps \ procps \
python3 \ python3 \
python3-dev \ python3-dev \
# temporär!
sudo \
tar \ tar \
tzdata \ tzdata \
udev \ udev \
wget \ wget \
# teporär
&& apt-get install -q -y --no-install-recommends sudo \
# Install node # Install node
&& mkdir -p /etc/apt/keyrings \ && mkdir -p /etc/apt/keyrings \
&& curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg \ && curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg \
&& echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_${NODE}.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list \ && echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_${NODE}.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list \
&& apt-get update && apt-get install -y nodejs npm \ && apt-get update && apt-get install -q -y --no-install-recommends nodejs \
# Install npm (does no longer come with nodejs?)
&& apt-get update && apt-get install -q -y --no-install-recommends npm \
# Install node-gyp # Install node-gyp
&& npm install --production -g node-gyp \ && npm install --production -g node-gyp \
# Generating locales # Generating locales