diff --git a/docker/fedora-35/Dockerfile b/docker/fedora-35/Dockerfile index 6397d60c4..40788b62a 100644 --- a/docker/fedora-35/Dockerfile +++ b/docker/fedora-35/Dockerfile @@ -2,7 +2,11 @@ FROM fedora:35 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 bluez-libs-devel python3-devel openssl-devel libatomic +RUN dnf install -y passwd sudo git make gcc gcc-c++ arm-none-eabi-gcc-cs arm-none-eabi-newlib readline-devel bzip2-devel bluez-libs-devel python3-devel openssl-devel libatomic findutils + +RUN yum -y update +RUN yum -y install cmake python-pip +RUN python3 -m pip install ansicolors sslcrypto # Create rrg user RUN useradd -ms /bin/bash rrg diff --git a/docker/fedora-35/README.md b/docker/fedora-35/README.md index 5fccbba41..966e86e7e 100644 --- a/docker/fedora-35/README.md +++ b/docker/fedora-35/README.md @@ -1,9 +1,23 @@ +# 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 -sudo yum -y install cmake python-pip -python3 -m pip install ansicolors sslcrypto +make clean; make -j tools/pm3_tests.sh --long ``` diff --git a/docker/fedora-35/docker_run.sh b/docker/fedora-35/docker_run.sh index aabf0b67a..d2e027507 100755 --- a/docker/fedora-35/docker_run.sh +++ b/docker/fedora-35/docker_run.sh @@ -1,3 +1,3 @@ #!/bin/bash -docker run --volume=$(pwd)/../..:/home/rrg/proxmark3 -it pm3-fedora-35:1.0 +docker run --volume=$(pwd)/../..:/home/rrg/proxmark3 -w /home/rrg/proxmark3 -it pm3-fedora-35:1.0 diff --git a/docker/homebrew/docker_run.sh b/docker/homebrew/docker_run.sh index 349df8a26..16c744594 100755 --- a/docker/homebrew/docker_run.sh +++ b/docker/homebrew/docker_run.sh @@ -1,4 +1,4 @@ #!/bin/bash -docker run --volume=$(pwd)/../..:/home/linuxbrew/proxmark3 -it pm3-brew:1.0 +docker run --volume=$(pwd)/../..:/home/linuxbrew/proxmark3 -w /home/rrg/proxmark3 -it pm3-brew:1.0 # if needed, run brew as user linuxbrew