-
-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathdevfile.yaml
More file actions
24 lines (23 loc) · 863 Bytes
/
devfile.yaml
File metadata and controls
24 lines (23 loc) · 863 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
---
apiVersion: 1.0.0
metadata:
name: jbang-examples
components:
-
type: chePlugin
id: redhat/java/latest
-
type: dockerimage
alias: tools
image: mcr.microsoft.com/vscode/devcontainers/universal:linux
env:
- 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
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"
memoryLimit: 512Mi
mountSources: true