mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-05-12 11:18:11 -07:00
update docker scripts
This commit is contained in:
+1
-1
@@ -1,5 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
for os in archlinux debian fedora homebrew opensuse ubuntu; do
|
||||
for os in archlinux debian-buster fedora-34 homebrew opensuse-leap opensuse-tumbleweed ubuntu-18.04 ubuntu-20.04; do
|
||||
( cd $os && ./docker_build.sh )
|
||||
done
|
||||
|
||||
Executable
+3
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
docker build -t "pm3-debian-buster:1.0" .
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
docker image rm pm3-debian:1.0
|
||||
docker image rm pm3-debian-buster:1.0
|
||||
docker image rm buster-slim
|
||||
@@ -1,3 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
docker run --volume=$(pwd)/../..:/home/rrg/proxmark3 -it pm3-debian:1.0
|
||||
docker run --volume=$(pwd)/../..:/home/rrg/proxmark3 -it pm3-debian-buster:1.0
|
||||
@@ -1,3 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
docker build -t "pm3-debian:1.0" .
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM fedora:31
|
||||
FROM fedora:34
|
||||
|
||||
ENV LANG C
|
||||
# qt5-qtbase-devel skipped
|
||||
Executable
+3
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
docker build -t "pm3-fedora-34:1.0" .
|
||||
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
docker image rm pm3-fedora-34:1.0
|
||||
docker image rm fedora:34
|
||||
@@ -1,3 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
docker run --volume=$(pwd)/../..:/home/rrg/proxmark3 -it pm3-fedora:1.0
|
||||
docker run --volume=$(pwd)/../..:/home/rrg/proxmark3 -it pm3-fedora-34:1.0
|
||||
@@ -1,3 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
docker build -t "pm3-fedora:1.0" .
|
||||
@@ -1,4 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
docker image rm pm3-fedora:1.0
|
||||
docker image rm fedora:31
|
||||
@@ -0,0 +1,15 @@
|
||||
FROM opensuse/leap
|
||||
|
||||
ENV LANG C
|
||||
# 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 cross-arm-none-gcc9 cross-arm-none-newlib-devel
|
||||
|
||||
# Create rrg user
|
||||
RUN useradd -ms /bin/bash rrg
|
||||
RUN passwd -d rrg
|
||||
RUN printf 'rrg ALL=(ALL) NOPASSWD: ALL\n' | tee -a /etc/sudoers
|
||||
|
||||
USER rrg
|
||||
WORKDIR "/home/rrg"
|
||||
|
||||
CMD ["/bin/bash"]
|
||||
Executable
+3
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
docker build -t "pm3-suse-leap:1.0" .
|
||||
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
docker image rm pm3-suse-leap:1.0
|
||||
docker image rm opensuse/leap
|
||||
@@ -1,3 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
docker run --volume=$(pwd)/../..:/home/rrg/proxmark3 -it pm3-suse:1.0
|
||||
docker run --volume=$(pwd)/../..:/home/rrg/proxmark3 -it pm3-suse-leap:1.0
|
||||
@@ -1,4 +1,3 @@
|
||||
#FROM opensuse/leap
|
||||
FROM opensuse/tumbleweed
|
||||
|
||||
ENV LANG C
|
||||
Executable
+3
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
docker build -t "pm3-suse-tumbleweed:1.0" .
|
||||
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
docker image rm pm3-suse-tumbleweed:1.0
|
||||
docker image rm opensuse/tumbleweed
|
||||
Executable
+3
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
docker run --volume=$(pwd)/../..:/home/rrg/proxmark3 -it pm3-suse-tumbleweed:1.0
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user