forked from ThePorgs/Exegol-images
-
Notifications
You must be signed in to change notification settings - Fork 0
/
debug.dockerfile
45 lines (37 loc) · 1.56 KB
/
debug.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
39
40
41
42
43
44
45
# Author: The Exegol Project
#
# Commentaire test TahiTi, coucou
FROM debian
ARG TAG="local"
ARG VERSION="local"
ARG BUILD_DATE="n/a"
LABEL org.exegol.tag="${TAG}"
LABEL org.exegol.version="${VERSION}"
LABEL org.exegol.build_date="${BUILD_DATE}"
LABEL org.exegol.app="Exegol"
LABEL org.exegol.src_repository="https://github.com/ThePorgs/Exegol-images"
RUN echo "${TAG}-${VERSION}" > /opt/.exegol_version
ADD sources /root/sources
RUN chmod +x /root/sources/install.sh
RUN /root/sources/install.sh deploy_exegol
RUN /root/sources/install.sh update
RUN apt-get update && apt-get install -y sudo git curl zsh asciinema zip wget ncat dnsutils python2 python3 python3-setuptools python3-pip vim nano procps automake autoconf make
RUN ln -s /usr/bin/python2.7 /usr/bin/python
RUN /root/sources/install.sh filesystem
#RUN /root/sources/install.sh set_go_env
#RUN /root/sources/install.sh install_locales
#RUN /root/sources/install.sh install_rust_cargo
#RUN /root/sources/install.sh install_tmux
RUN /root/sources/install.sh install_ohmyzsh
RUN /root/sources/install.sh install_fzf
RUN /root/sources/install.sh install_openvpn
RUN /root/sources/install.sh install_pipx
RUN /root/sources/install.sh install_python3
#RUN /root/sources/install.sh install_python-pip
#RUN /root/sources/install.sh install_exegol-history
#RUN /root/sources/install.sh install_kerbrute
RUN /root/sources/install.sh add-test-command "whoami --version"
RUN /root/sources/install.sh add-test-command "fail_command"
RUN /root/sources/install.sh post_install_clean
WORKDIR /workspace
ENTRYPOINT ["/.exegol/entrypoint.sh"]