add output that if install package of offline protoc exitst

This commit is contained in:
jw_mac
2026-04-24 18:36:05 +08:00
committed by lyingbug
parent 6128c7a30e
commit faaf6124b2

View File

@@ -29,6 +29,7 @@ RUN apt-get update && apt-get install -y \
# 检查是否存在本地protoc安装包如果存在则离线安装否则在线安装
ARG TARGETARCH
COPY packages/ /app/packages/
RUN ls -lah /app/packages/
# 兼容 BuildKit 和传统构建:如果 TARGETARCH 为空,使用 uname 检测
RUN if [ -z "$TARGETARCH" ]; then \
case $(uname -m) in \