Install npm as a separate package
This commit is contained in:
parent
5d0928f2aa
commit
522f9a7345
@ -13,7 +13,7 @@ ENV RAILS_ENV production
|
|||||||
|
|
||||||
RUN \
|
RUN \
|
||||||
# Install build dependencies
|
# 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
|
# Clone CrisisCleanup
|
||||||
&& git clone --depth 1 https://github.com/CrisisCleanup/crisiscleanup /srv/crisiscleanup \
|
&& git clone --depth 1 https://github.com/CrisisCleanup/crisiscleanup /srv/crisiscleanup \
|
||||||
# Hackfix ruby dependency versions
|
# Hackfix ruby dependency versions
|
||||||
|
@ -11,7 +11,7 @@ RUN \
|
|||||||
|
|
||||||
RUN \
|
RUN \
|
||||||
# Install build dependencies
|
# 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
|
# Download GNU Health
|
||||||
&& wget http://ftp.gnu.org/gnu/health/gnuhealth-3.2.8.tar.gz -O /tmp/gnuhealth.tgz \
|
&& wget http://ftp.gnu.org/gnu/health/gnuhealth-3.2.8.tar.gz -O /tmp/gnuhealth.tgz \
|
||||||
&& tar xzf /tmp/gnuhealth.tgz -C /srv \
|
&& tar xzf /tmp/gnuhealth.tgz -C /srv \
|
||||||
|
@ -29,7 +29,7 @@ RUN \
|
|||||||
|
|
||||||
RUN \
|
RUN \
|
||||||
# Install build dependencies for build2xlsform
|
# Install build dependencies for build2xlsform
|
||||||
apk --no-cache add --virtual .deps git make \
|
apk --no-cache add --virtual .deps git make npm \
|
||||||
# Clone build2xlsform
|
# Clone build2xlsform
|
||||||
&& git clone --depth 1 https://github.com/opendatakit/build2xlsform /srv/build2xlsform \
|
&& git clone --depth 1 https://github.com/opendatakit/build2xlsform /srv/build2xlsform \
|
||||||
&& cd /srv/build2xlsform \
|
&& cd /srv/build2xlsform \
|
||||||
|
@ -11,7 +11,7 @@ RUN \
|
|||||||
|
|
||||||
RUN \
|
RUN \
|
||||||
# Install build dependencies
|
# 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
|
# Clone OpenMapKit
|
||||||
&& git clone --depth 1 https://github.com/posm/OpenMapKitServer /srv/openmapkit \
|
&& git clone --depth 1 https://github.com/posm/OpenMapKitServer /srv/openmapkit \
|
||||||
&& cd /srv/openmapkit \
|
&& cd /srv/openmapkit \
|
||||||
|
Loading…
Reference in New Issue
Block a user