From d2cbf8346912c0812ba3afda48b418e402497c2c Mon Sep 17 00:00:00 2001 From: bad Date: Fri, 2 Sep 2022 13:58:35 +0200 Subject: [PATCH] Add an alpine dockerfile --- Dockerfile.alpine | 14 ++++++++++++++ Dockerfile => Dockerfile.ubuntu | 0 2 files changed, 14 insertions(+) create mode 100644 Dockerfile.alpine rename Dockerfile => Dockerfile.ubuntu (100%) diff --git a/Dockerfile.alpine b/Dockerfile.alpine new file mode 100644 index 0000000..d7e1641 --- /dev/null +++ b/Dockerfile.alpine @@ -0,0 +1,14 @@ +FROM alpine:latest +RUN mkdir /PWD +WORKDIR /tmp +RUN apk add --no-cache gdb python3 gcc musl-dev bash py3-pip python3-dev linux-headers +RUN apk add --no-cache git cmake make +RUN git clone --depth 1 'https://github.com/unicorn-engine/unicorn.git' +WORKDIR /tmp/unicorn/bindings/python +RUN pip install . +RUN pip3 install pwntools +ADD spawn-on-host-tmux.sh /bin/spawn-on-host-tmux.sh +RUN chmod +x /bin/spawn-on-host-tmux.sh +RUN ln -s /bin/spawn-on-host-tmux.sh /bin/pwntools-terminal +WORKDIR /PWD +ENTRYPOINT ["sh"] diff --git a/Dockerfile b/Dockerfile.ubuntu similarity index 100% rename from Dockerfile rename to Dockerfile.ubuntu