mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-09-20 15:26:13 +08:00
update fedora docker tests
This commit is contained in:
parent
cb8f1a51ad
commit
7e02a64576
|
@ -34,7 +34,7 @@ Run `tools/release_tests.sh` on:
|
|||
- [ ] Debian Testing
|
||||
- [ ] Ubuntu 22
|
||||
- [ ] ParrotOS
|
||||
- [ ] Fedora
|
||||
- [ ] Fedora 37
|
||||
- [ ] OpenSuse Leap
|
||||
- [ ] OpenSuse Tumbleweed
|
||||
- [ ] OSX (MacPorts)
|
||||
|
|
|
@ -1,26 +0,0 @@
|
|||
# Notes on run_tests.sh script
|
||||
This script does both strip the "recover_pk test" in pm3_tests.sh and then run 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.
|
||||
|
||||
|
||||
# Notes to run tests
|
||||
The script is to be run in proxmark root folder inside the docker env.
|
||||
|
||||
```
|
||||
docker/fedora-34/run_tests.sh;
|
||||
```
|
||||
|
||||
Or if you want to run single test,
|
||||
|
||||
```
|
||||
sudo yum -y update
|
||||
make clean; make -j
|
||||
tools/pm3_tests.sh --long
|
||||
```
|
||||
|
||||
Warning, `recover_pk selftests` will fail on Fedora because they stripped down the available ECC curves in their OpenSSL.
|
||||
|
||||
So just comment the "recover_pk test"
|
|
@ -1,3 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
docker build -t "pm3-fedora-34:1.0" .
|
|
@ -1,4 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
docker image rm pm3-fedora-34:1.0
|
||||
docker image rm fedora:34
|
|
@ -1,26 +0,0 @@
|
|||
# Notes on run_tests.sh script
|
||||
This script does both strip the "recover_pk test" in pm3_tests.sh and then run 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.
|
||||
|
||||
|
||||
# Notes to run tests
|
||||
The script is to be run in proxmark root folder inside the docker env.
|
||||
|
||||
```
|
||||
docker/fedora-35/run_tests.sh;
|
||||
```
|
||||
|
||||
Or if you want to run single test,
|
||||
|
||||
```
|
||||
sudo yum -y update
|
||||
make clean; make -j
|
||||
tools/pm3_tests.sh --long
|
||||
```
|
||||
|
||||
Warning, `recover_pk selftests` will fail on Fedora because they stripped down the available ECC curves in their OpenSSL.
|
||||
|
||||
So just comment the "recover_pk test"
|
|
@ -1,3 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
docker build -t "pm3-fedora-35:1.0" .
|
|
@ -1,4 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
docker image rm pm3-fedora-35:1.0
|
||||
docker image rm fedora:35
|
|
@ -1,4 +1,4 @@
|
|||
FROM fedora:34
|
||||
FROM fedora:36
|
||||
|
||||
ENV LANG C
|
||||
# qt5-qtbase-devel skipped
|
||||
|
@ -8,6 +8,8 @@ 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
|
21
docker/fedora-36/README.md
Normal file
21
docker/fedora-36/README.md
Normal file
|
@ -0,0 +1,21 @@
|
|||
# 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-36/run_tests.sh;
|
||||
```
|
||||
|
||||
Or if you want to run single test,
|
||||
|
||||
```
|
||||
sudo yum -y update
|
||||
make clean; make -j
|
||||
tools/pm3_tests.sh --long
|
||||
```
|
3
docker/fedora-36/docker_build.sh
Executable file
3
docker/fedora-36/docker_build.sh
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/bash
|
||||
|
||||
docker build -t "pm3-fedora-36:1.0" .
|
4
docker/fedora-36/docker_rm.sh
Normal file
4
docker/fedora-36/docker_rm.sh
Normal file
|
@ -0,0 +1,4 @@
|
|||
#!/bin/bash
|
||||
|
||||
docker image rm pm3-fedora-36:1.0
|
||||
docker image rm fedora:36
|
|
@ -1,3 +1,3 @@
|
|||
#!/bin/bash
|
||||
|
||||
docker run --volume=$(pwd)/../..:/home/rrg/proxmark3 -w /home/rrg/proxmark3 -it pm3-fedora-34:1.0
|
||||
docker run --volume=$(pwd)/../..:/home/rrg/proxmark3 -w /home/rrg/proxmark3 -it pm3-fedora-36:1.0
|
8
docker/fedora-36/run_tests.sh
Executable file
8
docker/fedora-36/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-36/run_tests.sh;
|
||||
|
||||
sudo apt update && sudo apt upgrade -y
|
||||
tools/release_tests.sh
|
|
@ -1,4 +1,4 @@
|
|||
FROM fedora:35
|
||||
FROM fedora:37
|
||||
|
||||
ENV LANG C
|
||||
# qt5-qtbase-devel skipped
|
||||
|
@ -8,6 +8,8 @@ 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
|
20
docker/fedora-37/README.md
Normal file
20
docker/fedora-37/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-37/run_tests.sh;
|
||||
```
|
||||
|
||||
Or if you want to run single test,
|
||||
|
||||
```
|
||||
sudo yum -y update
|
||||
make clean; make -j
|
||||
tools/pm3_tests.sh --long
|
||||
```
|
3
docker/fedora-37/docker_build.sh
Executable file
3
docker/fedora-37/docker_build.sh
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/bash
|
||||
|
||||
docker build -t "pm3-fedora-37:1.0" .
|
4
docker/fedora-37/docker_rm.sh
Normal file
4
docker/fedora-37/docker_rm.sh
Normal file
|
@ -0,0 +1,4 @@
|
|||
#!/bin/bash
|
||||
|
||||
docker image rm pm3-fedora-37:1.0
|
||||
docker image rm fedora:37
|
|
@ -1,3 +1,3 @@
|
|||
#!/bin/bash
|
||||
|
||||
docker run --volume=$(pwd)/../..:/home/rrg/proxmark3 -w /home/rrg/proxmark3 -it pm3-fedora-35:1.0
|
||||
docker run --volume=$(pwd)/../..:/home/rrg/proxmark3 -w /home/rrg/proxmark3 -it pm3-fedora-37:1.0
|
8
docker/fedora-37/run_tests.sh
Executable file
8
docker/fedora-37/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-36/run_tests.sh;
|
||||
|
||||
sudo apt update && sudo apt upgrade -y
|
||||
tools/release_tests.sh
|
Loading…
Reference in a new issue