update docker scripts

This commit is contained in:
Philippe Teuwen committed 2021-05-26 17:39:03 +02:00
1 parent 2d23d1d226
commit 4c36f5a5f7
32 files changed
+58 -34

No files matched your search

+15
View File
@@ -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"]
+3
View File
@@ -0,0 +1,3 @@
#!/bin/bash
docker build -t "pm3-suse-leap:1.0" .
+4
View File
@@ -0,0 +1,4 @@
#!/bin/bash
docker image rm pm3-suse-leap:1.0
docker image rm opensuse/leap
+3
View File
@@ -0,0 +1,3 @@
#!/bin/bash
docker run --volume=$(pwd)/../..:/home/rrg/proxmark3 -it pm3-suse-leap:1.0