This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
# 用于在 x86_64 上打出 amd64 + arm64 的 .deb(与 build-linux-deb-all.sh 一致)。
# 基底使用 Ubuntu 20.04(focal),降低 glibc 版本以兼容麒麟 V10。
# 构建:在仓库根目录执行 docker build -f scripts/docker/Dockerfile -t tauri-linux-deb:20.04 .
# 勿在纯 arm64 宿主机上用本镜像交叉打 amd64(需另做镜像或仅用真机构建)。
FROM ubuntu:20.04
ENV DEBIAN_FRONTEND=noninteractive \
RUSTUP_HOME=/opt/rustup \
CARGO_HOME=/opt/cargo
COPY scripts/docker/install-build-deps.sh /tmp/install-build-deps.sh
RUN chmod +x /tmp/install-build-deps.sh && /tmp/install-build-deps.sh
WORKDIR /work