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

Commit

Permalink
Use the latest version of yeoman-plugin (#666)
Browse files Browse the repository at this point in the history
* Use the latest yeoman-plugin

Signed-off-by: Vitaliy Gulyy <vgulyy@redhat.com>

* Use the latest yeoman-plugin (#668) (part 2)

Change-Id: I43fe01fbc2275b8d32219a54bbc36590af1711f6
Signed-off-by: nickboldt <nboldt@redhat.com>

Co-authored-by: nickboldt <nboldt@redhat.com>
  • Loading branch information
vitaliy-guliy and nickboldt committed Mar 16, 2020
1 parent a9e8347 commit 538111d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dockerfiles/theia/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ RUN if [ -z $GITHUB_TOKEN ]; then unset GITHUB_TOKEN; fi && \
cd plugins && ./foreach_yarn

# Add yeoman generator & vscode git plug-ins
COPY asset-untagged-c11870b25a17d20bb7a7-theia_yeoman_plugin.theia /home/theia-dev/theia-source-code/production/plugins/theia_yeoman_plugin.theia
COPY asset-untagged-theia_yeoman_plugin.theia /home/theia-dev/theia-source-code/production/plugins/theia_yeoman_plugin.theia

# change permissions
RUN find production -exec sh -c "chgrp 0 {}; chmod g+rwX {}" \; 2>log.txt
Expand Down
4 changes: 2 additions & 2 deletions dockerfiles/theia/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ tar rf ${DIR}/asset-che-theia.tar .git-che-theia-sha1
gzip -f ${DIR}/asset-che-theia.tar

# Download plugins
THEIA_YEOMAN_PLUGIN="${DIR}/asset-untagged-c11870b25a17d20bb7a7-theia_yeoman_plugin.theia"
THEIA_YEOMAN_PLUGIN="${DIR}/asset-untagged-theia_yeoman_plugin.theia"
if [ ! -f "${THEIA_YEOMAN_PLUGIN}" ]; then
curl -L -o ${THEIA_YEOMAN_PLUGIN} https://github.com/eclipse/theia-yeoman-plugin/releases/download/untagged-c11870b25a17d20bb7a7/theia_yeoman_plugin.theia
curl -L -o ${THEIA_YEOMAN_PLUGIN} https://github.com/eclipse/theia-yeoman-plugin/releases/download/untagged-8a7963262e021dab8ae0/theia_yeoman_plugin.theia
fi

init --name:theia "$@"
Expand Down

0 comments on commit 538111d

Please sign in to comment.