Skip to content

Commit dd0f56f

Browse files
committed
Add gef to dockerfile
1 parent 5bacf21 commit dd0f56f

File tree

1 file changed

+18
-5
lines changed

1 file changed

+18
-5
lines changed

docker/Dockerfile

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,25 @@
11
FROM debian:latest
22

3-
RUN apt-get update
3+
RUN apt-get update -y && apt-get upgrade -y
44

5-
RUN apt-get install -y build-essential strace ltrace curl wget gcc
5+
RUN apt-get install -y \
6+
build-essential strace ltrace curl wget gcc zsh vim gdb git netcat \
7+
procps python3 python3-pip python3-dev file binutils sudo locales
68

7-
RUN apt-get install -y zsh vim gdb git
9+
RUN echo "en_US.UTF-8 UTF-8" > /etc/locale.gen && locale-gen
810

9-
RUN apt-get install -y netcat
11+
ENV LC_ALL en_US.UTF-8
12+
ENV LANG en_US.UTF-8
13+
ENV LANGUAGE en_US:en
1014

11-
RUN useradd --create-home --shell /bin/zsh wolvsec
15+
RUN useradd --create-home --groups sudo --shell /bin/zsh wolvsec
1216
WORKDIR /home/wolvsec
17+
USER wolvsec
18+
19+
ENV PATH="${PATH}:/home/wolvsec/.local/bin"
20+
21+
RUN pip3 install pwntools numpy ipython
22+
23+
RUN bash -c "$(curl -fsSL https://gef.blah.cat/sh)"
24+
25+
ENTRYPOINT [ "/bin/zsh" ]

0 commit comments

Comments
 (0)