Commit 3ce9dd7
committed
update
When we switched to Hermeto from Cachito, we started seeing issues
with how the Go backend processes vendored dependencies. We were
instructed with help from the Hermeto team to add the following:
1. source $CACHITO_ENV_FILE before `go build` cmd
2. add -mod=readonly to `go build` command
Also, remove the gomod-vendor flag from container.yaml as it is not
used by Hermeto
https://spaces.redhat.com/pages/viewpage.action?pageId=228017926#UpstreamSources(Cachito,Hermeto,ContainerFirst)-GomodVendoringgo build command for Hermeto1 parent 87317ad commit 3ce9dd7
2 files changed
+1
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
0 commit comments