mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-11-14 21:58:44 +08:00
20 lines
530 B
Text
20 lines
530 B
Text
|
FROM archlinux/base
|
||
|
|
||
|
ENV LANG C
|
||
|
RUN pacman -Syy
|
||
|
RUN pacman-db-upgrade
|
||
|
# qt5-base skipped
|
||
|
RUN pacman -S --noconfirm sudo git base-devel cmake libusb readline bzip2 arm-none-eabi-gcc arm-none-eabi-newlib --needed
|
||
|
|
||
|
# Create rrg user
|
||
|
RUN useradd -ms /bin/bash rrg
|
||
|
RUN passwd -d rrg
|
||
|
RUN printf 'rrg ALL=(ALL) ALL\n' | tee -a /etc/sudoers
|
||
|
|
||
|
USER rrg
|
||
|
WORKDIR "/home/rrg"
|
||
|
|
||
|
RUN git clone https://aur.archlinux.org/package-query.git && cd package-query && makepkg -si --noconfirm --needed && cd .. && rm -rf package-query
|
||
|
|
||
|
CMD ["/bin/bash"]
|