adapt docker images

This commit is contained in:
iceman1001 2022-10-29 01:13:01 +02:00
parent 99659db10a
commit 216858eeba
4 changed files with 23 additions and 5 deletions

View file

@ -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

View file

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

View file

@ -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

View file

@ -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