Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

Running the builder container in a post build hook

Christian Baueref8629b98425
diff --git a/hooks/post_build b/hooks/post_build
new file mode 100644
index 000000000..afbb64f2a
--- /dev/null
+++ b/hooks/post_build
@@ -0,0 +1,6 @@
+#!/bin/bash
+echo "===> Building OpenRemote images"
+docker run --privileged \
+ -v $(pwd):/openremote \
+ -v /var/run/docker.sock:/var/run/docker.sock \
+ $IMAGE_NAME
\ No newline at end of file