- Ubuntu 22.04 + webkit2gtk-4.1 + librsvg2 + nodejs + rustup + tauri-cli - docker-compose: 绑定源码到 /workspace, 持久化 cargo/target 缓存 - 与 GH Actions ubuntu-latest job 依赖保持一致
14 lines
279 B
YAML
14 lines
279 B
YAML
services:
|
|
build-linux:
|
|
build: .
|
|
container_name: kimiswitch-build-linux
|
|
volumes:
|
|
- .:/workspace
|
|
- cargo-cache:/usr/local/cargo/registry
|
|
- target-cache:/workspace/src-tauri/target
|
|
working_dir: /workspace
|
|
|
|
volumes:
|
|
cargo-cache:
|
|
target-cache:
|