#!/usr/bin/env bash # Build Linux onefile dentro de Docker con dependencias Qt del sistema. set -euo pipefail ROOT="$(cd "$(dirname "$0")/../.." && pwd)" docker run --rm \ -v "$ROOT:/app" \ -w /app \ ubuntu:22.04 bash -c ' set -e export DEBIAN_FRONTEND=noninteractive apt-get update -qq # Herramientas de build + libs de sistema para que PyInstaller EMBEBA el cierre # completo de dependencias (plugin Qt xcb y driver MS ODBC). Cinturón y tirantes # junto con el bundle explícito de download-bundled-deps.sh. apt-get install -y -qq \ python3 python3-venv python3-pip curl dpkg-dev binutils apt-utils patchelf \ unixodbc libodbcinst2 libltdl7 libkrb5-3 libgssapi-krb5-2 libssl3 \ libglib2.0-0 libdbus-1-3 libfontconfig1 libfreetype6 \ libxkbcommon0 libxkbcommon-x11-0 libegl1 libgl1 libglvnd0 \ libx11-6 libx11-xcb1 libxext6 libxrender1 libxi6 libxfixes3 libxtst6 \ libxcomposite1 libxdamage1 libxrandr2 libxkbfile1 \ libxcb1 libxcb-cursor0 libxcb-icccm4 libxcb-util1 libxcb-image0 \ libxcb-keysyms1 libxcb-render-util0 libxcb-render0 libxcb-shape0 \ libxcb-xkb1 libxcb-glx0 libxcb-randr0 libxcb-shm0 libxcb-sync1 \ > /dev/null chmod +x build.sh packaging/scripts/download-bundled-deps.sh ./build.sh '