From b5ead9e2a8f1c4be3f5f3d446f1dca5f47e830df Mon Sep 17 00:00:00 2001 From: Oly Date: Tue, 6 Mar 2018 09:04:05 +0000 Subject: [PATCH] Updated readme --- readme.org | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/readme.org b/readme.org index 3ab2619..6a8b6c6 100644 --- a/readme.org +++ b/readme.org @@ -5,4 +5,14 @@ Very basic plugin, just lists out the environment variables available. From here you can code what ever you want, the project is mounted to this container. +* Building locally +#+BEGIN_SRC bash +docker build -t olymk2/drone-python-example . +#+END_SRC + +* Testing locally +You can run the plugin from docker with the command below, or just run =python example.py= outside the container. +#+BEGIN_SRC bash +docker run drone-python-example +#+END_SRC