mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-02-20 17:52:51 +00:00
Use JOBS=MAX for npm install
This commit is contained in:
parent
74ca087c7a
commit
7d78d0dad8
@ -1,3 +1,4 @@
|
||||
* Use JOBS=MAX for npm install. [Page]
|
||||
* Updated pinejs-client so that valid ssl certificates are enforced by default. [Page]
|
||||
* Write the `registered_at` time to config.json as well, in case there is a failure between writing to config.json and writing to knex [Page]
|
||||
|
||||
|
@ -16,7 +16,7 @@ WORKDIR /app
|
||||
COPY package.json postinstall.sh /app/
|
||||
RUN apt-get -q update \
|
||||
&& apt-get install -qqy g++ libsqlite3-dev make --no-install-recommends \
|
||||
&& npm install --unsafe-perm --production \
|
||||
&& JOBS=MAX npm install --unsafe-perm --production \
|
||||
&& npm dedupe \
|
||||
&& npm cache clean \
|
||||
&& rm -rf /tmp/* \
|
||||
|
@ -16,7 +16,7 @@ WORKDIR /app
|
||||
COPY package.json postinstall.sh /app/
|
||||
RUN apt-get -q update \
|
||||
&& apt-get install -qqy g++ libsqlite3-dev make --no-install-recommends \
|
||||
&& npm install --unsafe-perm --production \
|
||||
&& JOBS=MAX npm install --unsafe-perm --production \
|
||||
&& npm dedupe \
|
||||
&& npm cache clean \
|
||||
&& rm -rf /tmp/* \
|
||||
|
@ -16,7 +16,7 @@ WORKDIR /app
|
||||
COPY package.json postinstall.sh /app/
|
||||
RUN apt-get -q update \
|
||||
&& apt-get install -qqy g++ libsqlite3-dev make --no-install-recommends \
|
||||
&& npm install --unsafe-perm --production \
|
||||
&& JOBS=MAX npm install --unsafe-perm --production \
|
||||
&& npm dedupe \
|
||||
&& npm cache clean \
|
||||
&& rm -rf /tmp/* \
|
||||
|
@ -16,7 +16,7 @@ WORKDIR /app
|
||||
COPY package.json postinstall.sh /app/
|
||||
RUN apt-get -q update \
|
||||
&& apt-get install -qqy g++ libsqlite3-dev make --no-install-recommends \
|
||||
&& npm install --unsafe-perm --production \
|
||||
&& JOBS=MAX npm install --unsafe-perm --production \
|
||||
&& npm dedupe \
|
||||
&& npm cache clean \
|
||||
&& rm -rf /tmp/* \
|
||||
|
Loading…
x
Reference in New Issue
Block a user