fix(docker): add libfuse2 and APPIMAGE_EXTRACT_AND_RUN for OpenSCAD extraction

The OpenSCAD AppImage extraction was failing with exit code 8 in GitHub
Actions because AppImages require FUSE support or special handling to extract
in Docker build environments.

Changes:
- Install libfuse2 package in openscad-builder stage
- Set APPIMAGE_EXTRACT_AND_RUN=1 environment variable
- This allows AppImage extraction without FUSE kernel module mounting

This should fix the Docker build failures that were preventing deployments.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Thomas Hallock
2025-11-05 11:02:40 -06:00
parent 1100ac8114
commit 12490a7083

View File

@@ -113,11 +113,14 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
wget \
ca-certificates \
file \
libfuse2 \
&& rm -rf /var/lib/apt/lists/*
# Download latest OpenSCAD AppImage and extract it
# Using 2024.11 which has CGAL fixes for intersection operations
RUN wget -q https://files.openscad.org/OpenSCAD-2024.11.18-x86_64.AppImage -O /tmp/openscad.AppImage && \
# APPIMAGE_EXTRACT_AND_RUN=1 allows extraction without FUSE mounting
RUN export APPIMAGE_EXTRACT_AND_RUN=1 && \
wget -q https://files.openscad.org/OpenSCAD-2024.11.18-x86_64.AppImage -O /tmp/openscad.AppImage && \
chmod +x /tmp/openscad.AppImage && \
cd /tmp && \
./openscad.AppImage --appimage-extract && \