mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 06:45:49 +00:00
Create Devfile
This commit is contained in:
parent
2d1176c5be
commit
efbc3f15cf
1 changed files with 41 additions and 0 deletions
41
Devfile
Normal file
41
Devfile
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
metadata:
|
||||||
|
name: pitt-boot
|
||||||
|
projects:
|
||||||
|
- name: spring-boot-java
|
||||||
|
source:
|
||||||
|
location: 'https://github.com/pittar/spring-petclinic'
|
||||||
|
type: git
|
||||||
|
branch: master
|
||||||
|
components:
|
||||||
|
- id: redhat/java/latest
|
||||||
|
type: chePlugin
|
||||||
|
- mountSources: true
|
||||||
|
memoryLimit: 512Mi
|
||||||
|
type: dockerimage
|
||||||
|
volumes:
|
||||||
|
- name: m2
|
||||||
|
containerPath: /home/user/.m2
|
||||||
|
alias: maven
|
||||||
|
image: 'quay.io/eclipse/che-java11-maven:nightly'
|
||||||
|
env:
|
||||||
|
- value: /home/user/.m2
|
||||||
|
name: MAVEN_CONFIG
|
||||||
|
- value: >-
|
||||||
|
-XX:MaxRAMPercentage=50 -XX:+UseParallelGC -XX:MinHeapFreeRatio=10
|
||||||
|
-XX:MaxHeapFreeRatio=20 -XX:GCTimeRatio=4
|
||||||
|
-XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true
|
||||||
|
-Xms20m -Djava.security.egd=file:/dev/./urandom -Duser.home=/home/user
|
||||||
|
name: MAVEN_OPTS
|
||||||
|
- value: >-
|
||||||
|
-XX:MaxRAMPercentage=50 -XX:+UseParallelGC -XX:MinHeapFreeRatio=10
|
||||||
|
-XX:MaxHeapFreeRatio=20 -XX:GCTimeRatio=4
|
||||||
|
-XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true
|
||||||
|
-Xms20m -Djava.security.egd=file:/dev/./urandom
|
||||||
|
name: JAVA_OPTS
|
||||||
|
- value: >-
|
||||||
|
-XX:MaxRAMPercentage=50 -XX:+UseParallelGC -XX:MinHeapFreeRatio=10
|
||||||
|
-XX:MaxHeapFreeRatio=20 -XX:GCTimeRatio=4
|
||||||
|
-XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true
|
||||||
|
-Xms20m -Djava.security.egd=file:/dev/./urandom
|
||||||
|
name: JAVA_TOOL_OPTIONS
|
||||||
|
apiVersion: 1.0.0
|
Loading…
Reference in a new issue