dockerfiles for tests
This commit is contained in:
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
|
||||
Reference in New Issue
Block a user