Commit b0a8550
committed
fix: move Docker image pre-pull to sandbox startup (image build lacks mount privs)
The pre-pull of base images (node:22-alpine, python:3.12-alpine) cannot
run during Modal image build because the builder lacks mount privileges
for tmpfs. Move it to sandbox startup where dockerd runs as root with
full capabilities and the tmpfs-backed overlay2 storage works correctly.1 parent a8e28fe commit b0a8550
1 file changed
Lines changed: 4 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
219 | 219 | | |
220 | 220 | | |
221 | 221 | | |
222 | | - | |
223 | | - | |
| 222 | + | |
| 223 | + | |
224 | 224 | | |
225 | 225 | | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | | - | |
231 | | - | |
232 | | - | |
233 | 226 | | |
234 | 227 | | |
235 | 228 | | |
| |||
744 | 737 | | |
745 | 738 | | |
746 | 739 | | |
| 740 | + | |
| 741 | + | |
747 | 742 | | |
748 | 743 | | |
749 | 744 | | |
| |||
0 commit comments