Install npm as a separate package

This commit is contained in:
Disassembler 2018-07-09 19:44:58 +02:00
parent 5d0928f2aa
commit 522f9a7345
Signed by: Disassembler
GPG Key ID: 524BD33A0EE29499
4 changed files with 4 additions and 4 deletions

View File

@ -13,7 +13,7 @@ ENV RAILS_ENV production
RUN \
# Install build dependencies
apk --no-cache add --virtual .deps build-base git libxml2-dev libxslt-dev linux-headers postgresql-dev yarn zlib-dev \
apk --no-cache add --virtual .deps build-base git libxml2-dev libxslt-dev linux-headers npm postgresql-dev yarn zlib-dev \
# Clone CrisisCleanup
&& git clone --depth 1 https://github.com/CrisisCleanup/crisiscleanup /srv/crisiscleanup \
# Hackfix ruby dependency versions

View File

@ -11,7 +11,7 @@ RUN \
RUN \
# Install build dependencies
apk --no-cache add --virtual .deps build-base git libffi-dev libjpeg-turbo-dev libxml2-dev libxslt-dev ncurses patch postgresql-dev python3-dev sudo \
apk --no-cache add --virtual .deps build-base git libffi-dev libjpeg-turbo-dev libxml2-dev libxslt-dev ncurses npm patch postgresql-dev python3-dev sudo \
# Download GNU Health
&& wget http://ftp.gnu.org/gnu/health/gnuhealth-3.2.8.tar.gz -O /tmp/gnuhealth.tgz \
&& tar xzf /tmp/gnuhealth.tgz -C /srv \

View File

@ -29,7 +29,7 @@ RUN \
RUN \
# Install build dependencies for build2xlsform
apk --no-cache add --virtual .deps git make \
apk --no-cache add --virtual .deps git make npm \
# Clone build2xlsform
&& git clone --depth 1 https://github.com/opendatakit/build2xlsform /srv/build2xlsform \
&& cd /srv/build2xlsform \

View File

@ -11,7 +11,7 @@ RUN \
RUN \
# Install build dependencies
apk --no-cache add --virtual .deps build-base git py2-pip \
apk --no-cache add --virtual .deps build-base git npm py2-pip \
# Clone OpenMapKit
&& git clone --depth 1 https://github.com/posm/OpenMapKitServer /srv/openmapkit \
&& cd /srv/openmapkit \