Commit Graph

2 Commits

Author SHA1 Message Date
ae2d0be2ea feat(docker): add all-in-one multi-arch Dockerfile and Gitea deploy config
- Dockerfile.all-in-one: self-contained multi-stage build (frontend, Rust
  native cross-compile with Debian cross-GCC, server bundle, prod deps,
  runtime) for linux/amd64 + linux/arm64
- Fix aws-lc-sys asm build on arm64: use gcc-aarch64-linux-gnu instead of
  napi-rs cross-toolchain (bundled GCC 4.8.5 lacks __ARM_ARCH)
- Reduce memory via CARGO_PROFILE_RELEASE_LTO=thin + codegen-units=8
- Runtime mirrors upstream layout incl. schema.prisma/migrations so the
  selfhost predeploy job works; installs openssl + libjemalloc2
- scripts/deploy-gitea.sh + .gitea-deploy: build/push to Gitea registry
- .dockerignore: exclude dist/node_modules/tsbuildinfo from context
2026-08-25 11:46:28 +07:00
DarkSky
a0cf5681c4 chore: cleanup images (#14380)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **New Features**
* Added canary build version support with automatic validation and
age-based restrictions for testing pre-release versions.

* **Chores**
* Enhanced Docker build process with multi-stage builds, image
optimization, and memory allocation improvements.
  * Reorganized dependencies to distinguish development-only packages.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-02-06 19:49:02 +08:00