summaryrefslogtreecommitdiffstats
path: root/s2i/bin/assemble.pre
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2020-02-05 12:33:19 +0100
committerGerd Hoffmann <kraxel@redhat.com>2020-02-05 12:33:19 +0100
commit45e4e1e0a3ae5a68cfaaa85a548c38085809734d (patch)
tree2bd8ada6881bf635ba5956ab4099272d068eda5d /s2i/bin/assemble.pre
downloads2i-base-httpd-45e4e1e0a3ae5a68cfaaa85a548c38085809734d.tar.gz
initial commit
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