proxmark3/docker/opensuse-leap/Dockerfile

19 lines
534 B
Docker
Raw Normal View History

2021-05-25 23:10:56 +08:00
FROM opensuse/leap
2020-06-08 08:53:13 +08:00
ENV LANG C
# libqt5-qtbase-devel skipped
2022-02-16 06:08:06 +08:00
RUN zypper --non-interactive install --no-recommends shadow sudo git patterns-devel-base-devel_basis gcc-c++ readline-devel libbz2-devel bluez-devel python3-devel libopenssl-devel
2020-06-08 08:53:13 +08:00
2022-10-29 06:30:08 +08:00
RUN zypper --non-interactive install cmake python3 python3-pip
RUN 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) NOPASSWD: ALL\n' | tee -a /etc/sudoers
USER rrg
WORKDIR "/home/rrg"
CMD ["/bin/bash"]