From 90917aed5f88546ab5a4b201c2de013119dc007f Mon Sep 17 00:00:00 2001 From: "brian.mulier" Date: Wed, 17 Apr 2024 11:07:13 +0200 Subject: [PATCH] doc(docker): add command and Dockerfile to run Kestra with a custom plugin --- Dockerfile | 3 +++ README.md | 4 ++++ 2 files changed, 7 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..6fcff9b --- /dev/null +++ b/Dockerfile @@ -0,0 +1,3 @@ +FROM kestra/kestra:latest-full + +COPY build/libs/* /app/plugins/ \ No newline at end of file diff --git a/README.md b/README.md index 44f1a7f..dfc226f 100644 --- a/README.md +++ b/README.md @@ -47,6 +47,10 @@ This repository serves as a general template for creating a new [Kestra](https:/ * Documentation for developing a plugin is included in the [Plugin Developer Guide](https://kestra.io/docs/plugin-developer-guide/) +## Quickstart +To build and run on docker Kestra with your custom plugin, run this command: +`./gradlew shadowJar && docker build -t kestra-custom . && docker run --rm -p 8080:8080 kestra-custom server local` + ## License Apache 2.0 © [Kestra Technologies](https://kestra.io)