From 7ad956a36c416cc35e71446ade2285edafca4447 Mon Sep 17 00:00:00 2001 From: cgie Date: Sat, 11 Jul 2026 18:31:12 +0200 Subject: [PATCH] Add custom OpenClaw image --- .dockerignore | 3 +++ Dockerfile | 14 ++++++++++++++ README.md | 23 +++++++++++++++++++++++ 3 files changed, 40 insertions(+) create mode 100644 .dockerignore create mode 100644 Dockerfile create mode 100644 README.md diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..f38de7b --- /dev/null +++ b/.dockerignore @@ -0,0 +1,3 @@ +.git +.gitignore +README.md diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..c488a0c --- /dev/null +++ b/Dockerfile @@ -0,0 +1,14 @@ +FROM ghcr.io/openclaw/openclaw:latest + +USER root + +RUN apt-get update \ + && apt-get install -y --no-install-recommends \ + bash \ + ca-certificates \ + curl \ + git \ + openssh-client \ + && rm -rf /var/lib/apt/lists/* + +USER node diff --git a/README.md b/README.md new file mode 100644 index 0000000..cbc5e47 --- /dev/null +++ b/README.md @@ -0,0 +1,23 @@ +# openclaw-custom-image + +Minimal derived image for OpenClaw on Coolify. + +It tracks `ghcr.io/openclaw/openclaw:latest` and adds a small set of runtime tools: + +- `openssh-client` +- `git` +- `curl` +- `bash` +- `ca-certificates` + +## Build behavior + +Each rebuild pulls the current upstream `ghcr.io/openclaw/openclaw:latest` base image and reapplies the extra packages. + +## Coolify + +Point Coolify to this repository and let it build the image with the included `Dockerfile`. + +Keep the persistent volume mounted at: + +`/home/node/.openclaw`