Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
gitpod-io
GitHub Repository: gitpod-io/gitpod
Path: blob/main/components/ide/code/codehelper/BUILD.yaml
2500 views
1
packages:
2
- name: docker
3
type: docker
4
srcs:
5
- "supervisor-ide-config.json"
6
deps:
7
- :app
8
argdeps:
9
- imageRepoBase
10
config:
11
dockerfile: leeway.Dockerfile
12
metadata:
13
helm-component: workspace.codeHelperImage
14
image:
15
- ${imageRepoBase}/ide/code-codehelper:${version}
16
- ${imageRepoBase}/ide/code-codehelper:commit-${__git_commit}
17
- name: app
18
type: go
19
srcs:
20
- "**/*.go"
21
- "go.mod"
22
- "go.sum"
23
env:
24
- CGO_ENABLED=0
25
- GOOS=linux
26
deps:
27
- components/gitpod-protocol/go:lib
28
- components/supervisor-api/go:lib
29
- components/common-go:lib
30
config:
31
packaging: app
32
buildCommand: ["go", "build", "-trimpath", "-ldflags", "-buildid= -w -s -X 'github.com/gitpod-io/gitpod/code/codehelper.Version=commit-${__git_commit}'"]
33
34