summaryrefslogtreecommitdiffstats
path: root/docker-entry.sh
diff options
context:
space:
mode:
Diffstat (limited to 'docker-entry.sh')
-rwxr-xr-xdocker-entry.sh15
1 files changed, 0 insertions, 15 deletions
diff --git a/docker-entry.sh b/docker-entry.sh
deleted file mode 100755
index 3d3e770..0000000
--- a/docker-entry.sh
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/sh
-ENTRYPOINT=sploit
-
-# We want to support scuba as a convenient front-end for invoking containers.
-# However, scuba doesn't actually pass arguments to the image entrypoint
-# correctly. Instead, it treats the entrypoint as a shell equivalent, and
-# instructs it to run its own generated command script. We can't determine
-# whether scuba is invoked with a command or a multi-line alias, so we just grab
-# the last line from command.sh for simplicity and pass it as args to the real
-# entrypoint.
-if [ -d /.scuba ]; then
- $ENTRYPOINT $(tail -n 1 /.scuba/command.sh)
-else
- $ENTRYPOINT $@
-fi