diff options
author | Malfurious <m@lfurio.us> | 2025-01-05 00:42:34 -0500 |
---|---|---|
committer | Malfurious <m@lfurio.us> | 2025-01-05 00:42:34 -0500 |
commit | e70c06743cf9aba67d9fb8daf67cef266dd370de (patch) | |
tree | adcfb2d528bc4bd318190cfe45e4f451990d96f6 | |
parent | 23c750d2edc712c4a37e0774049a1a0f9a966009 (diff) | |
download | nsploit-e70c06743cf9aba67d9fb8daf67cef266dd370de.tar.gz nsploit-e70c06743cf9aba67d9fb8daf67cef266dd370de.zip |
Remove Docker image
The original use-case for this feature is covered by an external tool.
Signed-off-by: Malfurious <m@lfurio.us>
-rw-r--r-- | Dockerfile | 12 | ||||
-rwxr-xr-x | docker-entry.sh | 15 |
2 files changed, 0 insertions, 27 deletions
diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index cd4f53a..0000000 --- a/Dockerfile +++ /dev/null @@ -1,12 +0,0 @@ -FROM archlinux - -RUN pacman-key --init \ - && pacman -Syyu --needed --noconfirm git netcat python python-pip radare2 \ - && pacman -Scc --noconfirm - -COPY . /sploit -RUN pip install /sploit - -WORKDIR /home -ENTRYPOINT ["/sploit/docker-entry.sh"] -CMD ["--help"] 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 |