Get nodejs from source

master
Holger Pandel 2020-02-09 21:13:22 +01:00
parent f0f36a6c9b
commit 0a5ac2a018
1 changed files with 8 additions and 4 deletions

View File

@ -15,8 +15,13 @@ RUN apt-get update \
&& wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - \
&& echo "deb [ trusted=yes ] http://apt.postgresql.org/pub/repos/apt/ `lsb_release -cs`-pgdg main" | tee /etc/apt/sources.list.d/pgdg.list \
&& apt-get update \
&& apt-get install -y apt-transport-https ca-certificates \
&& apt-get install -y --no-install-recommends --allow-unauthenticated \
&& apt-get install -y apt-transport-https ca-certificates
RUN apt-get install -y curl \
&& wget --quiet -O - https://deb.nodesource.com/setup_10.x | bash - \
&& apt-get install -y nodejs
RUN apt-get install -y --no-install-recommends --allow-unauthenticated \
apache2 \
apache2-dev \
autoconf \
@ -54,8 +59,7 @@ RUN apt-get update \
lua5.3 \
make \
mapnik-utils \
nodejs \
npm \
node-gyp \
osmium-tool \
osmosis \
postgis \