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