diff --git a/docker/debian-bullseye/Dockerfile b/docker/debian-bullseye/Dockerfile index a23d32728..d443aee8c 100644 --- a/docker/debian-bullseye/Dockerfile +++ b/docker/debian-bullseye/Dockerfile @@ -8,6 +8,10 @@ RUN apt-get update && \ apt-get install -y --no-install-recommends git ca-certificates build-essential cmake pkg-config libreadline-dev gcc-arm-none-eabi libnewlib-dev libbz2-dev libbluetooth-dev libpython3-dev libssl-dev sudo && \ apt-get clean +RUN apt-get install -y python3-minimal && \ + apt-get install -y python3-pip && \ + python3 -m pip install ansicolors sslcrypto + # Create rrg user RUN useradd -ms /bin/bash rrg RUN passwd -d rrg diff --git a/docker/debian-bullseye/README.md b/docker/debian-bullseye/README.md index c6fce658c..1170c19fe 100644 --- a/docker/debian-bullseye/README.md +++ b/docker/debian-bullseye/README.md @@ -1,9 +1,22 @@ +# Notes on run_tests.sh script +This script does both setup the mirrors and pip install 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/debian-bullseye/run_tests.sh; +``` + +Or if you want to run single test, ``` sudo apt update -sudo apt install python3-minimal -sudo apt install python3-pip -python3 -m pip install ansicolors sslcrypto +make clean; make -j tools/pm3_tests.sh --long ``` diff --git a/docker/debian-bullseye/docker_run.sh b/docker/debian-bullseye/docker_run.sh index abe9dce77..1216f54cd 100755 --- a/docker/debian-bullseye/docker_run.sh +++ b/docker/debian-bullseye/docker_run.sh @@ -1,3 +1,3 @@ #!/bin/bash -docker run --volume=$(pwd)/../..:/home/rrg/proxmark3 -it pm3-debian-bullseye:1.0 +docker run --volume=$(pwd)/../..:/home/rrg/proxmark3 -w /home/rrg/proxmark3 -it pm3-debian-bullseye:1.0