This is an automated email from the ASF dual-hosted git repository.
jbonofre pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/karaf-site.git
The following commit(s) were added to refs/heads/trunk by this push:
new 309f5b3 Add Docker instructions in README.md
309f5b3 is described below
commit 309f5b329ea28f1b6e266515c2d5259d3120d2ae
Author: JB Onofré <[email protected]>
AuthorDate: Sun Feb 15 08:10:35 2026 +0100
Add Docker instructions in README.md
---
README.md | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/README.md b/README.md
index af26336..2406715 100644
--- a/README.md
+++ b/README.md
@@ -25,6 +25,12 @@ Once Jekyll is installed, you can build website using:
bundle exec jekyll serve
```
+You can also use Jekyll Docker image to server:
+
+```
+docker run --rm --volume="$PWD:/srv/jekyll:Z" --publish 4000:4000
jekyll/jekyll jekyll serve
+```
+
This command builds website and start the local Jekyll server on
http://localhost:4000
NB: your local Jekyll installation might need additional modules required by
Apache Karaf website. Just run `bundle install` to install these modules.
@@ -37,6 +43,12 @@ Build the site for production:
JEKYLL_ENV=production bundle exec jekyll build
```
+You can also use Jekyll Docker image to build:
+
+```
+docker run --rm --volume="$PWD:/srv/jekyll:Z" jekyll/jekyll jekyll build
+```
+
Package the war:
```