blob: 885e0ffdc90781d6859eb0a496f8bc2f84167ae6 (
plain) (
blame)
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
|
FROM debian
ENV DEBIAN_FRONTEND=noninteractive
ENV LANG=en_US.UTF-8
RUN apt update \
&& apt full-upgrade --yes \
&& apt install --yes \
build-essential \
curl \
file \
gcc-multilib \
gdb \
git \
ipython3 \
locales \
netcat-traditional \
procps \
python3 \
python3-pip \
strace \
#sudo \
tig \
vim \
wget
RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && locale-gen \
#&& echo 'ALL ALL=(ALL:ALL) NOPASSWD: ALL' >/etc/sudoers && chmod 400 /etc/sudoers \
&& echo '#!/bin/sh\n cp /etc/skel/.* $HOME >/dev/null 2>&1\n exec $@' >/etc/skelinit.sh \
&& chmod 755 /etc/skelinit.sh
RUN git clone --depth 1 https://github.com/radareorg/radare2 /radare2 \
&& /radare2/sys/install.sh
RUN HOME=/etc/skel bash -c "$(wget https://gef.blah.cat/sh -O -)"
COPY . /etc/skel/
ENTRYPOINT ["/etc/skelinit.sh"]
CMD ["/bin/bash"]
|