Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

Commit

Permalink
Include vscode git extension to default plugins (#328) (#329)
Browse files Browse the repository at this point in the history
* Downloads vscode git extension package to default plugins directory.
* Update theia-generator version to one without native theia git extension
  • Loading branch information
vinokurig authored Jul 5, 2019
1 parent 1347bc2 commit ab3132c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion dockerfiles/theia-dev/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ ENV HOME=/home/theia-dev \
THEIA_ELECTRON_SKIP_REPLACE_FFMPEG=true

# Define package of the theia generator to use
ARG THEIA_GENERATOR_PACKAGE=@eclipse-che/[email protected]1559634039
ARG THEIA_GENERATOR_PACKAGE=@eclipse-che/[email protected]1562229933

WORKDIR ${HOME}

Expand Down
2 changes: 2 additions & 0 deletions dockerfiles/theia/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,8 @@ RUN adduser -D -S -u 1001 -G root -h ${HOME} -s /bin/sh theia \
&& mkdir /node_modules \
# Download yeoman generator plug-in
&& curl -L -o /default-theia-plugins/theia_yeoman_plugin.theia https://github.com/eclipse/theia-yeoman-plugin/releases/download/untagged-04f28ee329e479cc465b/theia_yeoman_plugin.theia \
# Download vscode git plug-in
&& curl -L -o /default-theia-plugins/vscode-git-1.3.0.1.vsix https://github.com/che-incubator/vscode-git/releases/download/1.30.1/vscode-git-1.3.0.1.vsix \
&& for f in "${HOME}" "/etc/passwd" "/etc/group /node_modules /default-theia-plugins /projects"; do\
sudo chgrp -R 0 ${f} && \
sudo chmod -R g+rwX ${f}; \
Expand Down

0 comments on commit ab3132c

Please sign in to comment.