summaryrefslogtreecommitdiffstats
path: root/s2i/bin/assemble.pre
diff options
context:
space:
mode:
Diffstat (limited to 's2i/bin/assemble.pre')
-rwxr-xr-xs2i/bin/assemble.pre12
1 files changed, 12 insertions, 0 deletions
diff --git a/s2i/bin/assemble.pre b/s2i/bin/assemble.pre
new file mode 100755
index 0000000..be4477b
--- /dev/null
+++ b/s2i/bin/assemble.pre
@@ -0,0 +1,12 @@
+if [[ "$1" == "-h" ]]; then
+ exec /usr/libexec/s2i/usage
+fi
+
+set -e
+
+echo "-=- debug -=-"
+(set -x; id -a; pwd)
+echo "-=-"
+
+export HOME=/opt/app-root/src
+cd $HOME