2021-12-15 08:42:01 +08:00
|
|
|
FROM kalilinux/kali-rolling
|
|
|
|
|
2024-09-10 06:14:37 +08:00
|
|
|
ENV LANG=C
|
|
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
2021-12-15 08:42:01 +08:00
|
|
|
# qtbase5-dev skipped
|
|
|
|
RUN apt-get update && \
|
2022-10-29 06:39:35 +08:00
|
|
|
apt-get upgrade -y && \
|
2021-12-15 08:42:01 +08:00
|
|
|
apt-get dist-upgrade -y && \
|
2024-09-10 06:59:14 +08:00
|
|
|
apt-get install -y --no-install-recommends git ca-certificates build-essential cmake pkg-config libreadline-dev gcc-arm-none-eabi libnewlib-dev libbz2-dev liblz4-dev libbluetooth-dev libpython3-dev libssl-dev libgd-dev sudo && \
|
2021-12-15 08:42:01 +08:00
|
|
|
apt-get clean
|
|
|
|
|
2023-01-16 01:46:14 +08:00
|
|
|
RUN apt-get install -y python3-minimal && \
|
|
|
|
apt-get install -y python3-pip && \
|
|
|
|
apt-get clean && \
|
|
|
|
python3 -m pip install ansicolors sslcrypto
|
|
|
|
|
|
|
|
RUN apt-get install -y opencl-dev && \
|
|
|
|
apt-get clean
|
2022-10-29 04:17:01 +08:00
|
|
|
|
2021-12-15 08:42:01 +08:00
|
|
|
# Create rrg user
|
|
|
|
RUN useradd -ms /bin/bash rrg
|
|
|
|
RUN passwd -d rrg
|
|
|
|
RUN printf 'rrg ALL=(ALL) ALL\n' | tee -a /etc/sudoers
|
|
|
|
|
|
|
|
USER rrg
|
|
|
|
WORKDIR "/home/rrg"
|
|
|
|
|
|
|
|
CMD ["/bin/bash"]
|