From 5899ca619ad08c1900d38c253cd6adacdb7cd92d Mon Sep 17 00:00:00 2001 From: scott Date: Tue, 7 Apr 2026 12:40:53 -0400 Subject: [PATCH] Fix dpkg udev dependency in Docker build The .deb declares a dependency on udev but udev is a host service, not needed inside the container. Use --force-depends to skip that check. Co-Authored-By: Claude Sonnet 4.6 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 8cb734f..8f5fc79 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,7 +17,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ # Copy and install the crash cart software # Place the .deb in packages/crash-cart.deb before building COPY packages/crash-cart.deb /tmp/crash-cart.deb -RUN dpkg -i /tmp/crash-cart.deb && rm /tmp/crash-cart.deb +RUN dpkg --force-depends -i /tmp/crash-cart.deb && rm /tmp/crash-cart.deb # Prefer bundled libs (libpng12, libpython2.7, libwx*, etc.) over system ones ENV LD_LIBRARY_PATH=/opt/usb-crash-cart-adapter/20240517/guts