mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-13 18:17:25 -07:00
docker: add Fedora 43 (rawhide)
This commit is contained in:
parent
74a3920c0d
commit
0f53e9a0cb
4 changed files with 56 additions and 0 deletions
docker/fedora-43
27
docker/fedora-43/Dockerfile
Normal file
27
docker/fedora-43/Dockerfile
Normal file
|
@ -0,0 +1,27 @@
|
|||
FROM fedora:rawhide
|
||||
|
||||
ENV LANG=C
|
||||
# qt5-qtbase-devel skipped
|
||||
RUN dnf install -y passwd sudo git make gcc gcc-c++ arm-none-eabi-gcc-cs arm-none-eabi-newlib readline-devel bzip2-devel lz4-devel bluez-libs-devel python3-devel openssl-devel gd-devel libatomic findutils
|
||||
|
||||
RUN yum -y update
|
||||
RUN yum -y install cmake python-pip
|
||||
RUN python3 -m pip install ansicolors sslcrypto
|
||||
|
||||
RUN yum -y install mesa-libOpenCL ocl-icd-devel
|
||||
|
||||
# Create rrg user
|
||||
RUN useradd -ms /bin/bash rrg
|
||||
RUN passwd -d rrg
|
||||
ARG UART_GID
|
||||
# dialout group may already exist on another numeric ID than on host
|
||||
RUN if [ -n "${UART_GID}" ]; then \
|
||||
groupadd -g ${UART_GID} mydialout || true; \
|
||||
usermod -aG ${UART_GID} rrg; \
|
||||
fi
|
||||
RUN printf 'rrg ALL=(ALL) ALL\n' | tee -a /etc/sudoers
|
||||
|
||||
USER rrg
|
||||
WORKDIR "/home/rrg"
|
||||
|
||||
CMD ["/bin/bash"]
|
20
docker/fedora-43/README.md
Normal file
20
docker/fedora-43/README.md
Normal file
|
@ -0,0 +1,20 @@
|
|||
# Notes on run_tests.sh script
|
||||
This script runs a bunch of different builds with make and cmake together
|
||||
with the different combos of RDV4, GENERIC, BTADDON combos.
|
||||
|
||||
If all tests OK, the script will finish with PASS.
|
||||
|
||||
# Notes to run tests
|
||||
The script is to be run in proxmark root folder inside the docker env.
|
||||
|
||||
```
|
||||
docker/fedora-43/run_tests.sh;
|
||||
```
|
||||
|
||||
Or if you want to run single test,
|
||||
|
||||
```
|
||||
sudo yum -y update
|
||||
make clean; make -j
|
||||
tools/pm3_tests.sh --long
|
||||
```
|
1
docker/fedora-43/docker_conf.inc
Normal file
1
docker/fedora-43/docker_conf.inc
Normal file
|
@ -0,0 +1 @@
|
|||
DOCKER_IMAGE=pm3-fedora-43:1.0
|
8
docker/fedora-43/run_tests.sh
Executable file
8
docker/fedora-43/run_tests.sh
Executable file
|
@ -0,0 +1,8 @@
|
|||
#!/usr/bin/env bash
|
||||
# Iceman 2022
|
||||
#
|
||||
# This script is to be run from proxmark root folder inside the docker env
|
||||
# docker/fedora-43/run_tests.sh;
|
||||
|
||||
sudo yum -y update
|
||||
tools/release_tests.sh
|
Loading…
Add table
Add a link
Reference in a new issue