che-server/devfile.yaml

22 lines
504 B
YAML

apiVersion: 1.0.0
metadata:
name: che-server-in-che
components:
- type: dockerimage
image: quay.io/eclipse/che-java11-maven:nightly
alias: maven
mountSources: true
memoryLimit: 2Gi
volumes:
- name: m2
containerPath: /home/user/.m2
- type: chePlugin
id: redhat/java11/latest
commands:
- name: build without tests
actions:
- type: exec
component: maven
command: mvn clean install -DskipTests
workdir: ${CHE_PROJECTS_ROOT}/che