proxmark3/docker/ubuntu-20.04/Dockerfile

25 lines
698 B
Docker
Raw Normal View History

2020-06-08 08:53:13 +08:00
FROM ubuntu:20.04
ENV LANG C
ENV DEBIAN_FRONTEND noninteractive
# qtbase5-dev skipped
RUN apt-get update && \
2022-10-29 06:14:31 +08:00
apt-get upgrade -y && \
2020-06-08 08:53:13 +08:00
apt-get dist-upgrade -y && \
2022-02-16 06:08:06 +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 libbluetooth-dev libpython3-dev libssl-dev sudo && \
2020-06-08 08:53:13 +08:00
apt-get clean
2022-10-29 06:14:31 +08:00
RUN apt install -y python3-minimal && \
apt install -y python3-pip && \
python3 -m pip install ansicolors sslcrypto
2020-06-08 08:53:13 +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"]