-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevfile.yaml
More file actions
52 lines (43 loc) · 1.07 KB
/
devfile.yaml
File metadata and controls
52 lines (43 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
schemaVersion: 2.1.0
metadata:
name: vscode-demo
components:
- name: tools
# attributes:
# .vscode/extensions.json: |
# {
# "recommendations": [
# "ms-python.python"
# ]
# }
container:
image: quay.io/devfile/universal-developer-image:ubi8-latest
memoryLimit: 3Gi
# experimental, non default:
# memoryRequest: 256Mi
# cpuLimit: 500m
# cpuRequest: 30m
endpoints:
- exposure: none
name: debug
protocol: tcp
targetPort: 5005
- exposure: public
name: 8080-tcp
protocol: http
targetPort: 8080
volumeMounts:
- name: m2
path: /home/user/.m2
- name: m2
volume:
size: 1G
commands:
- id: install-reqs
exec:
label: "Install requirements"
component: tools
workingDir: ${PROJECT_SOURCE}
commandLine: "pip3 install pipenv --force-reinstall && python3 -m pipenv install --skip-lock --system"
group:
kind: run