Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.

Commit

Permalink
Run node-gyp install before run node-gyp rebuild.
Browse files Browse the repository at this point in the history
Signed-off-by: Masaki Muranaka <monaka@monami-ya.com>
  • Loading branch information
monaka committed Jun 17, 2019
1 parent 75cd9be commit 7b95c92
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dockerfiles/remote-plugin-dotnet-2.2.105/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \

# Install typescript@2.9.2 and node-gyp

&& yarn global add typescript@2.9.2 node-gyp
&& yarn global add typescript@2.9.2 node-gyp \
&& node-gyp install

ENV HOME=/home/theia
COPY --from=endpoint /home/theia /home/theia
Expand Down
1 change: 1 addition & 0 deletions dockerfiles/theia/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ RUN adduser -D -S -u 1001 -G root -h ${HOME} -s /bin/bash theia \
&& chmod 666 /etc/passwd /etc/group \
# Add yeoman, theia plugin generator and typescript (to have tsc/typescript working)
&& yarn global add yo @theia/generator-plugin@0.0.1-1540209403 typescript@2.9.2 \
&& node-gyp install \
&& mkdir -p ${HOME}/.config/insight-nodejs/ \
&& chmod -R 777 ${HOME}/.config/ \
# Disable the statistics for yeoman
Expand Down

0 comments on commit 7b95c92

Please sign in to comment.