docker: add Fedora 43 (rawhide)

This commit is contained in:
Philippe Teuwen 2025-03-26 01:10:21 +01:00
commit 0f53e9a0cb
4 changed files with 56 additions and 0 deletions

View 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"]

View 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
```

View file

@ -0,0 +1 @@
DOCKER_IMAGE=pm3-fedora-43:1.0

8
docker/fedora-43/run_tests.sh Executable file
View 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