You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+26-3Lines changed: 26 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,16 +39,22 @@ docker compose up -d
39
39
┌─────────────────────────────────────────────┐
40
40
│ Docker container (coollabsio/openclaw) │
41
41
│ │
42
+
│ Baked in: Linuxbrew, Go, uv, build-essential│
43
+
│ Persistent volume: /data │
44
+
│ ├── .openclaw/ (state & config) │
45
+
│ └── workspace/ (user projects) │
46
+
│ │
42
47
│ ┌──────────┐ :8080 ┌────────────────┐ │
43
48
│ │ nginx │ ──────→ │ openclaw │ │
44
49
│ │ (basic │ proxy │ gateway │ │
45
50
│ │ auth) │ :18789 │ :18789 │ │
46
51
│ └──────────┘ └────────────────┘ │
47
52
│ │
48
53
│ entrypoint.sh │
49
-
│ 1. configure.js (env vars → json) │
50
-
│ 2. nginx (background) │
51
-
│ 3. exec openclaw gateway │
54
+
│ 1. run custom init script (optional) │
55
+
│ 2. configure.js (env vars → json) │
56
+
│ 3. nginx (background) │
57
+
│ 4. exec openclaw gateway │
52
58
└─────────────────────────────────────────────┘
53
59
```
54
60
@@ -312,6 +318,23 @@ If a channel env var is removed, that channel is cleaned from config on next sta
312
318
|---|---|
313
319
|`OPENCLAW_DOCKER_APT_PACKAGES`| Space-separated list of apt packages to install at container startup (e.g. `ffmpeg build-essential`). Packages are installed before openclaw starts. Reinstalled on each container restart. |
314
320
321
+
### Linuxbrew (baked into image)
322
+
323
+
The base image includes common skill dependencies baked in:
324
+
325
+
-**Linuxbrew** — `/home/linuxbrew/.linuxbrew` — skills that need `brew` work out of the box
326
+
-**Go** — `/usr/local/go` — for Go-based skills and tools
327
+
-**uv** — fast Python package manager for Python-based skills
328
+
-**build-essential**, **git**, **curl** — common build dependencies
329
+
330
+
Note: packages installed at runtime (e.g. via `brew install`) are part of the container filesystem and do **not** persist across container rebuilds. To permanently add packages, customize `Dockerfile.base` or use `OPENCLAW_DOCKER_APT_PACKAGES` for apt-available equivalents.
331
+
332
+
### Custom init script (optional)
333
+
334
+
| Variable | Default | Description |
335
+
|---|---|---|
336
+
|`OPENCLAW_DOCKER_INIT_SCRIPT`|*(none)*| Script that runs on every container start before openclaw starts. Must be executable and idempotent. |
0 commit comments