docker kali

This commit is contained in:
Philippe Teuwen committed 2021-12-15 01:42:01 +01:00
1 parent acb23acfc5
commit 9e666e2ebe
7 files changed
+40 -2

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
FROM kalilinux/kali-rolling
ENV LANG C
ENV DEBIAN_FRONTEND noninteractive
# qtbase5-dev skipped
RUN apt-get update && \
apt-get dist-upgrade -y && \
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 libbluetooth-dev libpython3-dev sudo && \
apt-get clean
# 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"]