Commit 006f141
fix: mount .m2 and .deps.clj to /root/ for awf sandbox
The awf sandbox runs as root, so $HOME=/root. bb (GraalVM native
image) uses $HOME to find .m2/repository and .deps.clj/. Previous
attempts with env vars (JAVA_TOOL_OPTIONS, CLJ_CONFIG, CLJ_JVM_OPTS)
failed because bb ignores JAVA_TOOL_OPTIONS (native image), skips
user config (:user nil), and CLJ_JVM_OPTS doesn't reach tools.deps.
The correct fix: mount the host directories to /root/ in addition to
/home/runner/, so they're found at $HOME/.m2 and $HOME/.deps.clj
regardless of what $HOME is.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 34fc13b commit 006f141
File tree
3 files changed
+8
-15
lines changed- .github/workflows
3 files changed
+8
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
83 | 74 | | |
84 | 75 | | |
85 | 76 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
| 37 | + | |
36 | 38 | | |
37 | 39 | | |
38 | 40 | | |
| |||
0 commit comments