mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-07 05:52:57 +00:00
ci: fix Dockerfile npm install commands
This commit is contained in:
@@ -101,9 +101,9 @@ COPY $SCRIPTS_DIRECTORY/$NODE_SETUP_SCRIPT /tmp/
|
|||||||
|
|
||||||
RUN bash /tmp/$NODE_SETUP_SCRIPT && apt-get install -y nodejs && \
|
RUN bash /tmp/$NODE_SETUP_SCRIPT && apt-get install -y nodejs && \
|
||||||
### Install wanted npm version
|
### Install wanted npm version
|
||||||
npm install -g npm@$NPM_VERSION && \
|
npm install -g --unsafe-perm npm@$NPM_VERSION && \
|
||||||
### Install needed global npm packages
|
### Install needed global npm packages
|
||||||
npm install -g @ionic/cli@$IONIC_VERSION cordova@$CORDOVA_VERSION cordova-res@$CORDOVA_RES_VERSION
|
npm install -g --unsafe-perm @ionic/cli@$IONIC_VERSION cordova@$CORDOVA_VERSION cordova-res@$CORDOVA_RES_VERSION
|
||||||
|
|
||||||
### Create, build, delete an empty cordova project to download necessary maven files and keep them in image
|
### Create, build, delete an empty cordova project to download necessary maven files and keep them in image
|
||||||
RUN cd / && cordova create tmp-project && \
|
RUN cd / && cordova create tmp-project && \
|
||||||
|
|||||||
Reference in New Issue
Block a user