-
Notifications
You must be signed in to change notification settings - Fork 783
/
Dockerfile
38 lines (32 loc) · 1.06 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
FROM ubuntu:22.04
LABEL maintainer="Knownsec 404 Team"
ARG version
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update \
&& apt-get install -y \
python3 \
python3-pip \
net-tools \
nload \
htop \
tmux \
vim \
wget \
curl \
zsh \
&& apt-get install -y sudo \
&& useradd -m pocsuite3 \
&& passwd --delete --unlock pocsuite3 \
&& echo "pocsuite3 ALL=(ALL:ALL) NOPASSWD: ALL" > /etc/sudoers.d/pocsuite3
USER pocsuite3
RUN sh -c "$(wget -O- https://raw.githubusercontent.com/13ph03nix/zsh-in-docker/master/zsh-in-docker.sh)" -- \
-t https://github.com/spaceship-prompt/spaceship-prompt \
-p git \
-p https://github.com/zsh-users/zsh-autosuggestions \
-p https://github.com/zsh-users/zsh-completions \
&& sudo apt-get autoremove -y \
&& sudo apt-get clean -y \
&& sudo rm -rf /var/lib/apt/lists/*
RUN sudo pip3 install --upgrade pip && sudo pip3 install --upgrade pocsuite3$([ -n "$version" ] && echo "=="${version})
WORKDIR /home/pocsuite3
CMD ["zsh"]