forked from RfidResearchGroup/proxmark3
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
39 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#!/bin/bash | ||
|
||
for os in archlinux debian-buster fedora-34 fedora-35 homebrew opensuse-leap opensuse-tumbleweed ubuntu-18.04 ubuntu-20.04 ubuntu-21.04; do | ||
for os in archlinux debian-buster fedora-34 fedora-35 homebrew opensuse-leap opensuse-tumbleweed parrot-core-latest ubuntu-18.04 ubuntu-20.04 ubuntu-21.04; do | ||
( cd $os && ./docker_build.sh ) | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
FROM parrotsec/core:latest | ||
|
||
ENV LANG C | ||
ENV DEBIAN_FRONTEND noninteractive | ||
# qtbase5-dev skipped | ||
RUN apt-get update && \ | ||
apt-get dist-upgrade -y && \ | ||
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 sudo && \ | ||
apt-get clean | ||
|
||
# Create rrg user | ||
RUN useradd -ms /bin/bash rrg | ||
RUN passwd -d rrg | ||
RUN printf 'rrg ALL=(ALL) ALL\n' | tee -a /etc/sudoers | ||
|
||
USER rrg | ||
WORKDIR "/home/rrg" | ||
|
||
CMD ["/bin/bash"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Notes to run tests | ||
|
||
``` | ||
sudo apt update | ||
sudo apt install -y python3-minimal | ||
sudo apt install -y python3-pip | ||
python3 -m pip install ansicolors sslcrypto | ||
tools/pm3_tests.sh --long | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/bash | ||
|
||
docker build -t "pm3-parrotsec-core-latest:1.0" . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/bash | ||
|
||
docker image rm pm3-parrotsec-core-latest:1.0 | ||
#docker image rm ubuntu:21.04 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/bash | ||
|
||
docker run --volume=$(pwd)/../..:/home/rrg/proxmark3 -it pm3-parrotsec-core-latest:1.0 |