mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-11-10 17:49:32 +08:00
23 lines
679 B
Docker
23 lines
679 B
Docker
FROM parrotsec/core:latest
|
|
|
|
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 libssl-dev sudo && \
|
|
apt-get clean
|
|
|
|
RUN apt install -y python3-minimal && \
|
|
apt install -y python3-pip && \
|
|
python3 -m pip install ansicolors sslcrypto
|
|
|
|
# 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"]
|