Skip to content

Commit 3499e66

Browse files
committed
Update dockerfile
1 parent 7568399 commit 3499e66

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

docker/Dockerfile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ RUN apt-get update -y
55
RUN apt-get install -y apt-transport-https
66

77
RUN apt-get install -y \
8-
build-essential strace curl wget gcc zsh vim gdb git netcat \
8+
build-essential cmake pkg-config \
9+
strace curl wget gcc zsh vim gdb git netcat \
910
procps python3 python3-pip python3-dev file binutils sudo locales
1011

1112
RUN echo "en_US.UTF-8 UTF-8" > /etc/locale.gen && locale-gen
@@ -14,7 +15,12 @@ ENV LC_ALL en_US.UTF-8
1415
ENV LANG en_US.UTF-8
1516
ENV LANGUAGE en_US:en
1617

18+
RUN git clone https://github.com/unicorn-engine/unicorn.git /opt/unicorn
19+
WORKDIR /opt/unicorn/bindings/python
20+
RUN python3 setup.py install && rm -rf /opt/unicorn
21+
1722
RUN useradd --create-home --groups sudo --shell /bin/zsh wolvsec
23+
RUN echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
1824
WORKDIR /home/wolvsec
1925
USER wolvsec
2026

0 commit comments

Comments
 (0)