Commit 333b480
authored
Use 'sharing=locked' for gateway Dockerfile cache mount (tensorzero#3194)
Using a shared cache volume is causing issues on Namespace with
parallel builds:
```
3.749 failed to open `/usr/local/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/minimal-lexical-0.2.1/.cargo-ok`
3.749 Caused by:
3.749 File exists (os error 17)
```
Let's only allow one Docker builder to have access to the registry cache
mount1 parent bdd58a8 commit 333b480
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
| 14 | + | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
0 commit comments