Skip to content

Commit

Permalink
Update npm install step in docker
Browse files Browse the repository at this point in the history
Signed-off-by: Prabhu Subramanian <[email protected]>
  • Loading branch information
prabhu committed Jan 15, 2025
1 parent 72bce6c commit badeef2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions ci/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,7 @@ COPY ./target/atom.zip .
COPY ./wrapper .
RUN unzip -q atom.zip \
&& composer update --no-progress --prefer-dist --ignore-platform-reqs \
&& cd /opt/nodejs && npm install --only=production && cd /opt \
&& npm install -g /opt/nodejs \
&& cd /opt/nodejs && npm install --only=production && npm install -g . && cd /opt \
&& rm -rf atom.zip composer.json composer.lock composer-setup.php /usr/local/bin/atom \
&& /opt/bin/atom --help \
&& which astgen \
Expand Down
3 changes: 1 addition & 2 deletions ci/Dockerfile.sle
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,7 @@ COPY ./wrapper .
RUN unzip -q atom.zip \
&& source /root/.nvm/nvm.sh \
&& composer update --no-progress --prefer-dist --ignore-platform-reqs \
&& cd /opt/nodejs && npm install --only=production && cd /opt \
&& npm install -g /opt/nodejs \
&& cd /opt/nodejs && npm install --only=production && npm install -g . && cd /opt \
&& rm -rf atom.zip composer.json composer.lock composer-setup.php /usr/local/bin/atom \
&& java --version \
&& /opt/bin/atom --help \
Expand Down

0 comments on commit badeef2

Please sign in to comment.