Add support for uv and simplify docker tests
This commit is contained in:
1 parent
ca3795342f
commit
d1a093ec94
36 files changed
+72
-146
No files matched your search
@@ -5,9 +5,7 @@ RUN pacman -Syu --noconfirm
|
||||
RUN pacman-db-upgrade
|
||||
# qt5-base skipped
|
||||
# bluez skipped, can't be installed in docker
|
||||
RUN pacman -S --noconfirm sudo git base-devel cmake libusb readline bzip2 lz4 gd arm-none-eabi-gcc arm-none-eabi-newlib python --needed
|
||||
|
||||
RUN pacman -S --noconfirm python-pip
|
||||
RUN pacman -S --noconfirm sudo git base-devel cmake libusb readline bzip2 lz4 gd arm-none-eabi-gcc arm-none-eabi-newlib --needed
|
||||
|
||||
# OpenCL for hitag2crack
|
||||
RUN pacman -S --noconfirm ocl-icd
|
||||
@@ -23,6 +21,9 @@ RUN if [ -n "${UART_GID}" ]; then \
|
||||
fi
|
||||
RUN printf 'rrg ALL=(ALL) ALL\n' | tee -a /etc/sudoers
|
||||
|
||||
# uv
|
||||
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
|
||||
|
||||
USER rrg
|
||||
WORKDIR "/home/rrg"
|
||||
|
||||
|
||||
Reference in new issue
Block a user