From f88d6572fbd469ba7bf68d643c1c34b6ac68d6e8 Mon Sep 17 00:00:00 2001 From: Steven Enamakel Date: Fri, 17 Apr 2026 20:05:40 -0700 Subject: [PATCH] fix(ci-image): include vendored tauri-cef in CI Docker build context The root .dockerignore excludes `app/` (it's sized for the openhuman-core Dockerfile), which also excludes `app/src-tauri/vendor/tauri-cef`. The CI image Dockerfile at .github/Dockerfile needs that path to compile the CEF-aware tauri-cli, so the docker-ci-image workflow fails at the `COPY app/src-tauri/vendor/tauri-cef /opt/tauri-cef` step. BuildKit prefers `.dockerignore` over the root one, so add a dedicated .github/Dockerfile.dockerignore that keeps the vendored submodule while still stripping target/, node_modules/, etc. Verified locally: `docker build -f .github/Dockerfile .` reaches the verify step with `cargo tauri --version` printing 2.10.1. --- .github/Dockerfile.dockerignore | 34 +++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/Dockerfile.dockerignore diff --git a/.github/Dockerfile.dockerignore b/.github/Dockerfile.dockerignore new file mode 100644 index 000000000..914c014e9 --- /dev/null +++ b/.github/Dockerfile.dockerignore @@ -0,0 +1,34 @@ +# BuildKit prefers .dockerignore over root .dockerignore when +# building this specific Dockerfile. The root .dockerignore excludes `app/` +# (sized for the openhuman-core image), but the CI image needs the vendored +# tauri-cef submodule to compile the CEF-aware tauri-cli. + +# Build artifacts +target/ +app/src-tauri/target/ +app/src-tauri/vendor/tauri-cef/target/ + +# Node / frontend (not needed for CI image) +node_modules/ +app/node_modules/ +app/dist/ +app/.vite/ + +# IDE / editor +.idea/ +.vscode/ +*.swp +*.swo +*~ + +# Git metadata (keep .gitmodules so submodule state is observable) +.git/ + +# OS files +.DS_Store +Thumbs.db + +# Environment / secrets +.env +.env.* +!.env.example