-
-
Save amisevsk/986b628d26a61427fd2f679ddd414ee1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kind: DevWorkspace | |
apiVersion: workspace.devfile.io/v1alpha2 | |
metadata: | |
name: code-latest | |
spec: | |
started: true | |
routingClass: che | |
template: | |
attributes: | |
controller.devfile.io/storage-type: ephemeral | |
projects: | |
- name: web-nodejs-sample | |
git: | |
remotes: | |
origin: "https://github.com/che-samples/web-nodejs-sample.git" | |
components: | |
- name: dev | |
container: | |
image: quay.io/amisevsk/web-terminal-tooling:zsh | |
env: | |
# Change value of SHELL below to use a different shell (available: /bin/bash, /bin/sh, /bin/zsh) | |
- name: SHELL | |
value: /bin/zsh | |
commands: | |
- id: say-hello | |
exec: | |
component: dev | |
commandLine: echo "Hello from $(pwd)" | |
workingDir: ${PROJECT_SOURCE}/app | |
contributions: | |
- name: che-code | |
uri: https://eclipse-che.github.io/che-plugin-registry/main/v3/plugins/che-incubator/che-code/latest/devfile.yaml | |
## Uncomment lines below to use alternate che-code image that does not add entry to /etc/passwd | |
# components: | |
# - name: che-code-injector | |
# container: | |
# image: quay.io/amisevsk/che-code:test |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment