proxmark3/docker/opensuse-leap/Dockerfile

25 lines
858 B
Text
Raw Normal View History

2021-05-25 23:10:56 +08:00
FROM opensuse/leap
2020-06-08 08:53:13 +08:00
2024-09-10 06:14:37 +08:00
ENV LANG=C
2020-06-08 08:53:13 +08:00
# libqt5-qtbase-devel skipped
RUN zypper --non-interactive install --no-recommends shadow sudo git patterns-devel-base-devel_basis gcc-c++ readline-devel libbz2-devel liblz4-devel bluez-devel python3-devel libopenssl-devel gd-devel
2020-06-08 08:53:13 +08:00
2024-09-10 07:16:55 +08:00
RUN zypper addrepo https://download.opensuse.org/repositories/home:wkazubski/15.6/home:wkazubski.repo && \
zypper --gpg-auto-import-keys refresh && \
2024-09-10 15:53:52 +08:00
zypper --non-interactive install cross-arm-none-eabi-gcc13 cross-arm-none-eabi-newlib
RUN zypper --non-interactive install cmake python3 python3-pip && \
python3 -m pip install ansicolors sslcrypto
RUN zypper --non-interactive install ocl-icd-devel
2022-10-29 06:30:08 +08:00
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"]