mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
dockerfiles for tests
This commit is contained in:
parent
fa0b658436
commit
e5a97f3e80
15 changed files with 118 additions and 0 deletions
16
docker/opensuse/Dockerfile
Normal file
16
docker/opensuse/Dockerfile
Normal file
|
@ -0,0 +1,16 @@
|
|||
#FROM opensuse/leap
|
||||
FROM opensuse/tumbleweed
|
||||
|
||||
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"]
|
3
docker/opensuse/docker_build.sh
Executable file
3
docker/opensuse/docker_build.sh
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/bash
|
||||
|
||||
docker build -t "pm3-suse:1.0" .
|
3
docker/opensuse/docker_run.sh
Executable file
3
docker/opensuse/docker_run.sh
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/bash
|
||||
|
||||
docker run --volume=$(pwd)/../..:/home/rrg/proxmark3 -it pm3-suse:1.0
|
Loading…
Add table
Add a link
Reference in a new issue