mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
update docker ubuntu
This commit is contained in:
parent
f54dd925d1
commit
65d0e1ef06
16 changed files with 78 additions and 45 deletions
|
@ -10,10 +10,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 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
|
||||
|
|
8
docker/ubuntu-18.04/run_tests.sh
Executable file
8
docker/ubuntu-18.04/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/debian-bullseye/run_tests.sh;
|
||||
|
||||
sudo apt update && sudo apt upgrade -y
|
||||
tools/release_tests.sh
|
|
@ -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
|
||||
|
|
8
docker/ubuntu-20.04/run_tests.sh
Executable file
8
docker/ubuntu-20.04/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/debian-bullseye/run_tests.sh;
|
||||
|
||||
sudo apt update && sudo apt upgrade -y
|
||||
tools/release_tests.sh
|
|
@ -1,21 +0,0 @@
|
|||
# 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/ubuntu-21.04/run_tests.sh;
|
||||
```
|
||||
|
||||
Or if you want to run single test,
|
||||
```
|
||||
sudo apt update
|
||||
make clean; make -j
|
||||
tools/pm3_tests.sh --long
|
||||
```
|
|
@ -1,3 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
docker build -t "pm3-ubuntu-21.04:1.0" .
|
|
@ -1,4 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
docker image rm pm3-ubuntu-21.04:1.0
|
||||
docker image rm ubuntu:21.04
|
|
@ -1,4 +1,4 @@
|
|||
FROM ubuntu:21.04
|
||||
FROM ubuntu:22.04
|
||||
|
||||
ENV LANG C
|
||||
ENV DEBIAN_FRONTEND noninteractive
|
||||
|
@ -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
|
20
docker/ubuntu-22.04/README.md
Normal file
20
docker/ubuntu-22.04/README.md
Normal file
|
@ -0,0 +1,20 @@
|
|||
# Notes on run_tests.sh script
|
||||
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 with PASS.
|
||||
|
||||
|
||||
# Notes to run tests
|
||||
The script is to be run in proxmark root folder inside the docker env.
|
||||
|
||||
```
|
||||
docker/ubuntu-22.04/run_tests.sh;
|
||||
```
|
||||
|
||||
Or if you want to run single test,
|
||||
```
|
||||
sudo apt update
|
||||
make clean; make -j
|
||||
tools/pm3_tests.sh --long
|
||||
```
|
3
docker/ubuntu-22.04/docker_build.sh
Executable file
3
docker/ubuntu-22.04/docker_build.sh
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/bash
|
||||
|
||||
docker build -t "pm3-ubuntu-22.04:1.0" .
|
4
docker/ubuntu-22.04/docker_rm.sh
Normal file
4
docker/ubuntu-22.04/docker_rm.sh
Normal file
|
@ -0,0 +1,4 @@
|
|||
#!/bin/bash
|
||||
|
||||
docker image rm pm3-ubuntu-22.04:1.0
|
||||
docker image rm ubuntu:22.04
|
|
@ -1,3 +1,3 @@
|
|||
#!/bin/bash
|
||||
|
||||
docker run --volume=$(pwd)/../..:/home/rrg/proxmark3 -w /home/rrg/proxmark3 -it pm3-ubuntu-21.04:1.0
|
||||
docker run --volume=$(pwd)/../..:/home/rrg/proxmark3 -w /home/rrg/proxmark3 -it pm3-ubuntu-22.04:1.0
|
8
docker/ubuntu-22.04/run_tests.sh
Executable file
8
docker/ubuntu-22.04/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/debian-bullseye/run_tests.sh;
|
||||
|
||||
sudo apt update && sudo apt upgrade -y
|
||||
tools/release_tests.sh
|
Loading…
Add table
Add a link
Reference in a new issue