Get nodejs from source

This commit is contained in:
Holger Pandel 2020-02-09 21:13:22 +01:00
parent f0f36a6c9b
commit 0a5ac2a018

View File

@ -15,8 +15,13 @@ RUN apt-get update \
&& wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - \ && 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 \ && 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 update \
&& apt-get install -y apt-transport-https ca-certificates \ && apt-get install -y apt-transport-https ca-certificates
&& apt-get install -y --no-install-recommends --allow-unauthenticated \
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 \
apache2-dev \ apache2-dev \
autoconf \ autoconf \
@ -54,8 +59,7 @@ RUN apt-get update \
lua5.3 \ lua5.3 \
make \ make \
mapnik-utils \ mapnik-utils \
nodejs \ node-gyp \
npm \
osmium-tool \ osmium-tool \
osmosis \ osmosis \
postgis \ postgis \