mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-19 21:03:48 -07:00
update opensuse docker tests and other dockers
This commit is contained in:
parent
7e02a64576
commit
2282d480ad
9 changed files with 50 additions and 30 deletions
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
for os in archlinux debian-buster fedora-34 fedora-35 homebrew kali opensuse-leap opensuse-tumbleweed parrot-core-latest ubuntu-18.04 ubuntu-20.04 ubuntu-21.04; do
|
for os in archlinux debian-buster fedora-36 fedora-37 homebrew kali opensuse-leap opensuse-tumbleweed parrot-core-latest ubuntu-18.04 ubuntu-20.04 ubuntu-22.04; do
|
||||||
( cd $os && ./docker_build.sh )
|
( cd $os && ./docker_build.sh )
|
||||||
done
|
done
|
||||||
|
|
|
@ -4,5 +4,5 @@
|
||||||
# This script is to be run from proxmark root folder inside the docker env
|
# This script is to be run from proxmark root folder inside the docker env
|
||||||
# docker/fedora-36/run_tests.sh;
|
# docker/fedora-36/run_tests.sh;
|
||||||
|
|
||||||
sudo apt update && sudo apt upgrade -y
|
sudo yum -y update
|
||||||
tools/release_tests.sh
|
tools/release_tests.sh
|
||||||
|
|
|
@ -4,5 +4,5 @@
|
||||||
# This script is to be run from proxmark root folder inside the docker env
|
# This script is to be run from proxmark root folder inside the docker env
|
||||||
# docker/fedora-36/run_tests.sh;
|
# docker/fedora-36/run_tests.sh;
|
||||||
|
|
||||||
sudo apt update && sudo apt upgrade -y
|
sudo yum -y update
|
||||||
tools/release_tests.sh
|
tools/release_tests.sh
|
||||||
|
|
|
@ -4,8 +4,14 @@ ENV LANG C
|
||||||
# libqt5-qtbase-devel skipped
|
# libqt5-qtbase-devel skipped
|
||||||
RUN zypper --non-interactive install --no-recommends shadow sudo git patterns-devel-base-devel_basis gcc-c++ readline-devel libbz2-devel bluez-devel python3-devel libopenssl-devel
|
RUN zypper --non-interactive install --no-recommends shadow sudo git patterns-devel-base-devel_basis gcc-c++ readline-devel libbz2-devel bluez-devel python3-devel libopenssl-devel
|
||||||
|
|
||||||
RUN zypper --non-interactive install cmake python3 python3-pip
|
RUN zypper addrepo https://download.opensuse.org/repositories/home:wkazubski/15.4/home:wkazubski.repo && \
|
||||||
RUN python3 -m pip install ansicolors sslcrypto
|
zypper --gpg-auto-import-keys refresh && \
|
||||||
|
zypper --non-interactive install cross-arm-none-eabi-gcc12 cross-arm-none-eabi-newlib
|
||||||
|
|
||||||
|
RUN zypper --non-interactive install cmake python3 python3-pip && \
|
||||||
|
python3 -m pip install ansicolors sslcrypto
|
||||||
|
|
||||||
|
RUN zypper --non-interactive install ocl-icd-devel
|
||||||
|
|
||||||
# Create rrg user
|
# Create rrg user
|
||||||
RUN useradd -ms /bin/bash rrg
|
RUN useradd -ms /bin/bash rrg
|
||||||
|
|
|
@ -1,24 +1,20 @@
|
||||||
# Notes on run_tests.sh script
|
# Notes on run_tests.sh script
|
||||||
This script does both setup and then run a
|
This script runs a bunch of different builds with make and cmake together
|
||||||
bunch of different builds with make and cmake together with the different combos
|
with the different combos of RDV4, GENERIC, BTADDON 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
|
# Notes to run tests
|
||||||
The script is to be run in proxmark root folder inside the docker env.
|
The script is to be run in proxmark root folder inside the docker env.
|
||||||
|
|
||||||
```
|
```
|
||||||
docker/opensuse-leap/run_tests.sh;
|
docker/opensuse-leap/run_tests.sh;
|
||||||
```
|
```
|
||||||
|
|
||||||
Or if you want to run single test,
|
Or if you want to run single test,
|
||||||
|
|
||||||
```
|
```
|
||||||
|
sudo zypper refresh && sudo zypper --non-interactive update
|
||||||
make clean; make -j
|
make clean; make -j
|
||||||
tools/pm3_tests.sh --long mfkey nonce2key mf_nonce_brute fpga_compress common client
|
tools/pm3_tests.sh --long
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
No ARM compiler available ?
|
|
||||||
|
|
8
docker/opensuse-leap/run_tests.sh
Executable file
8
docker/opensuse-leap/run_tests.sh
Executable file
|
@ -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/opensuse-leap/run_tests.sh;
|
||||||
|
|
||||||
|
sudo zypper refresh && sudo zypper --non-interactive update
|
||||||
|
tools/release_tests.sh
|
|
@ -2,10 +2,16 @@ FROM opensuse/tumbleweed
|
||||||
|
|
||||||
ENV LANG C
|
ENV LANG C
|
||||||
# libqt5-qtbase-devel skipped
|
# libqt5-qtbase-devel skipped
|
||||||
RUN zypper --non-interactive install --no-recommends shadow sudo git patterns-devel-base-devel_basis gcc-c++ readline-devel libbz2-devel bluez-devel python3-devel libopenssl-devel cross-arm-none-gcc11 cross-arm-none-newlib-devel
|
RUN zypper --non-interactive install --no-recommends shadow sudo git patterns-devel-base-devel_basis gcc-c++ readline-devel libbz2-devel bluez-devel python3-devel libopenssl-devel cross-arm-none-gcc12 cross-arm-none-newlib-devel
|
||||||
|
|
||||||
RUN zypper --non-interactive install cmake python3 python3-pip
|
#RUN zypper addrepo https://download.opensuse.org/repositories/home:wkazubski/openSUSE_Tumbleweed/home:wkazubski.repo && \
|
||||||
RUN python3 -m pip install ansicolors sslcrypto
|
# zypper --gpg-auto-import-keys refresh && \
|
||||||
|
# zypper --non-interactive install cross-arm-none-eabi-gcc12 cross-arm-none-eabi-newlib
|
||||||
|
|
||||||
|
RUN zypper --non-interactive install cmake python3 python3-pip && \
|
||||||
|
python3 -m pip install ansicolors sslcrypto
|
||||||
|
|
||||||
|
RUN zypper --non-interactive install ocl-icd-devel
|
||||||
|
|
||||||
# Create rrg user
|
# Create rrg user
|
||||||
RUN useradd -ms /bin/bash rrg
|
RUN useradd -ms /bin/bash rrg
|
||||||
|
|
|
@ -1,24 +1,20 @@
|
||||||
# Notes on run_tests.sh script
|
# Notes on run_tests.sh script
|
||||||
This script does both setup and then run a
|
This script runs a bunch of different builds with make and cmake together
|
||||||
bunch of different builds with make and cmake together with the different combos
|
with the different combos of RDV4, GENERIC, BTADDON 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
|
# Notes to run tests
|
||||||
The script is to be run in proxmark root folder inside the docker env.
|
The script is to be run in proxmark root folder inside the docker env.
|
||||||
|
|
||||||
```
|
```
|
||||||
docker/opensuse-tumbleweed/run_tests.sh;
|
docker/opensuse-tumbleweed/run_tests.sh;
|
||||||
```
|
```
|
||||||
|
|
||||||
Or if you want to run single test,
|
Or if you want to run single test,
|
||||||
|
|
||||||
```
|
```
|
||||||
|
sudo zypper refresh && sudo zypper --non-interactive update
|
||||||
make clean; make -j
|
make clean; make -j
|
||||||
tools/pm3_tests.sh --long mfkey nonce2key mf_nonce_brute fpga_compress common client
|
tools/pm3_tests.sh --long
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
No ARM compiler available ?
|
|
||||||
|
|
8
docker/opensuse-tumbleweed/run_tests.sh
Executable file
8
docker/opensuse-tumbleweed/run_tests.sh
Executable file
|
@ -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/opensuse-tumbleweed/run_tests.sh;
|
||||||
|
|
||||||
|
sudo zypper refresh && sudo zypper --non-interactive update
|
||||||
|
tools/release_tests.sh
|
Loading…
Add table
Add a link
Reference in a new issue