update parrot docker tests

This commit is contained in:
Philippe Teuwen 2023-01-15 19:54:56 +01:00
parent 65d0e1ef06
commit cb8f1a51ad
6 changed files with 22 additions and 11 deletions
docker
parrot-core-latest
ubuntu-18.04
ubuntu-20.04
ubuntu-22.04

@ -9,10 +9,14 @@ 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 install -y python3-minimal && \
apt install -y python3-pip && \
RUN apt-get install -y python3-minimal && \
apt-get install -y python3-pip && \
apt-get clean && \
python3 -m pip install ansicolors sslcrypto
RUN apt-get install -y opencl-dev && \
apt-get clean
# Create rrg user
RUN useradd -ms /bin/bash rrg
RUN passwd -d rrg

@ -1,9 +1,8 @@
# 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.
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.
If all tests OK, the script will finish with PASS.
# Notes to run tests
@ -11,9 +10,9 @@ The script is to be run in proxmark root folder inside the docker env.
```
docker/parrot-core-latest/run_tests.sh;
```
```
Or if you want to run single test,
Or if you want to run single test,
```
sudo apt update

@ -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/parrot-core-latest/run_tests.sh;
sudo apt update && sudo apt upgrade -y
tools/release_tests.sh

@ -2,7 +2,7 @@
# Iceman 2022
#
# This script is to be run from proxmark root folder inside the docker env
# docker/debian-bullseye/run_tests.sh;
# docker/ubuntu-18.04/run_tests.sh;
sudo apt update && sudo apt upgrade -y
tools/release_tests.sh

@ -2,7 +2,7 @@
# Iceman 2022
#
# This script is to be run from proxmark root folder inside the docker env
# docker/debian-bullseye/run_tests.sh;
# docker/ubuntu-20.04/run_tests.sh;
sudo apt update && sudo apt upgrade -y
tools/release_tests.sh

@ -2,7 +2,7 @@
# Iceman 2022
#
# This script is to be run from proxmark root folder inside the docker env
# docker/debian-bullseye/run_tests.sh;
# docker/ubuntu-22.04/run_tests.sh;
sudo apt update && sudo apt upgrade -y
tools/release_tests.sh