RRG-Proxmark3/docker/opensuse-leap/Dockerfile
Anton Todorov b6fc000405 revert opensuse-leap docker to default Python 3.6
forgot to revert the opensuse-leap/Dockerfile changes when reworking commit 39c846ada4


Signed-off-by: Anton Todorov <ANTodorov@users.noreply.github.com>
2024-11-14 16:24:48 +01:00

25 lines
858 B
Docker

FROM opensuse/leap
ENV LANG=C
# 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
RUN zypper addrepo https://download.opensuse.org/repositories/home:wkazubski/15.6/home:wkazubski.repo && \
zypper --gpg-auto-import-keys refresh && \
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
# 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"]