1 parent 892eb3b commit 58707afCopy full SHA for 58707af
1 file changed
entrypoint.sh
@@ -1,6 +1,12 @@
1
#!/bin/sh
2
set -e
3
4
+# ── Fix OpenShift environment overrides ──────────────────────────────────────
5
+# OpenShift sets HOME=/ (read-only) and SHELL=/sbin/nologin (exits immediately).
6
+# Both break tmux: it can't write to HOME and spawned shells die instantly.
7
+export HOME="/home/tinycode"
8
+export SHELL="/bin/sh"
9
+
10
# Write container defaults to config.json unconditionally on every start.
11
# tinycode loads config in order: config.json -> tinycode.json -> tinycode.jsonc
12
# (src/config/config.ts:484-486). Writing to the lowest-priority config.json
0 commit comments