mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-11-11 10:14:34 +08:00
16 lines
453 B
Docker
16 lines
453 B
Docker
#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"]
|