Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
gitpod-io
GitHub Repository: gitpod-io/gitpod
Path: blob/main/components/ws-daemon/seccomp-profile-installer/BUILD.yaml
2497 views
1
packages:
2
- name: app
3
type: go
4
srcs:
5
- "**/*.go"
6
- "go.mod"
7
- "go.sum"
8
env:
9
- CGO_ENABLED=0
10
- GOOS=linux
11
config:
12
packaging: app
13
- name: profile
14
type: generic
15
deps:
16
- :app
17
config:
18
commands:
19
- ["sh", "-c", "components-ws-daemon-seccomp-profile-installer--app/seccomp-profile-installer $(cat components-ws-manager--userns-test-fixtures/pod.json | jq -r '.reason.spec.containers[0].securityContext.capabilities.add | map(\"CAP_\"+.) | join(\" \")') > workspace_default.json"]
20
- name: docker
21
type: docker
22
deps:
23
- :profile
24
argdeps:
25
- imageRepoBase
26
config:
27
dockerfile: leeway.Dockerfile
28
metadata:
29
helm-component: wsDaemon.userNamespaces.seccompProfileInstaller
30
image:
31
- ${imageRepoBase}/seccomp-profile-installer:${version}
32
- ${imageRepoBase}/seccomp-profile-installer:commit-${__git_commit}
33
34