proxmark3/docker/archlinux
2022-10-28 21:59:17 +02:00
..
docker_build.sh dockerfiles for tests 2020-06-08 02:53:13 +02:00
docker_rm.sh docker scripts 2021-05-23 02:13:18 +02:00
docker_run.sh add pip when building the docker image instead 2022-10-28 21:59:17 +02:00
Dockerfile add pip when building the docker image instead 2022-10-28 21:59:17 +02:00
README.md added new test shell script to setup / install / build and test the proxmark source code for docker env archlinux 2022-10-26 22:32:04 +02:00
run_tests.sh added new test shell script to setup / install / build and test the proxmark source code for docker env archlinux 2022-10-26 22:32:04 +02:00

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.

The script is to be run in proxmark root folder inside the docker env.

cd proxmark; 
docker/archlinux/run_tests.sh;

Notes to install latest gcc and arm-none-eabi-gcc

cat << EOF |sudo tee -a /etc/pacman.conf

[testing]
Include = /etc/pacman.d/mirrorlist

[community-testing]
Include = /etc/pacman.d/mirrorlist

[staging]
Include = /etc/pacman.d/mirrorlist
EOF

sudo pacman -Syu

# search available versions
pacman -Ss '^arm-none-eabi-gcc$'
pacman -Ss '^gcc$'

# depending on where the latest bleeding edge is:
sudo pacman -S community-testing/arm-none-eabi-gcc
sudo pacman -S arm-none-eabi-gcc
sudo pacman -S staging/gcc
sudo pacman -S testing/gcc
sudo pacman -S gcc

Notes to run tests

Add first the mirrors, see above

sudo pacman -S python-pip
python3 -m pip install ansicolors sslcrypto
tools/pm3_tests.sh --long