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
RUN apt-get update && apt-get upgrade -y \
# Install prerequisites
&& apt-get install -y \
&& apt-get install -q -y --no-install-recommends \
apt-utils \
ca-certificates \
cifs-utils \
@@ -34,17 +34,19 @@ RUN apt-get update && apt-get upgrade -y \
procps \
python3 \
python3-dev \
# temporär!
sudo \
tar \
tzdata \
udev \
wget \
# teporär
&& apt-get install -q -y --no-install-recommends sudo \
# Install node
&& mkdir -p /etc/apt/keyrings \
&& 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 \
&& 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
&& npm install --production -g node-gyp \
# Generating locales