Skip to content

无法构建 linux/arm/v7 和 linux/arm/v8 Docker 镜像 #14915

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
88250 opened this issue May 27, 2025 · 0 comments
Open

无法构建 linux/arm/v7 和 linux/arm/v8 Docker 镜像 #14915

88250 opened this issue May 27, 2025 · 0 comments
Assignees

Comments

@88250
Copy link
Member

88250 commented May 27, 2025

经过多次尝试,linux/arm/v7,linux/arm/v8 无法通过 Action 构建出来,可能是因为太慢了。

Dockerfile:26
--------------------
  25 |     ENV CGO_ENABLED=1
  26 | >>> RUN apk add --no-cache gcc musl-dev && \
  27 | >>>     cd kernel && go build --tags fts5 -v -ldflags "-s -w" && \
  28 | >>>     mkdir /opt/siyuan/ && \
  29 | >>>     mv /go/src/github.com/siyuan-note/siyuan/app/appearance/ /opt/siyuan/ && \
  30 | >>>     mv /go/src/github.com/siyuan-note/siyuan/app/stage/ /opt/siyuan/ && \
  31 | >>>     mv /go/src/github.com/siyuan-note/siyuan/app/guide/ /opt/siyuan/ && \
  32 | >>>     mv /go/src/github.com/siyuan-note/siyuan/app/changelogs/ /opt/siyuan/ && \
  33 | >>>     mv /go/src/github.com/siyuan-note/siyuan/kernel/kernel /opt/siyuan/ && \
  34 | >>>     mv /go/src/github.com/siyuan-note/siyuan/kernel/entrypoint.sh /opt/siyuan/entrypoint.sh && \
  35 | >>>     find /opt/siyuan/ -name .git | xargs rm -rf
  36 |     
--------------------
ERROR: failed to solve: process "/bin/sh -c apk add --no-cache gcc musl-dev &&     cd kernel && go build --tags fts5 -v -ldflags \"-s -w\" &&     mkdir /opt/siyuan/ &&     mv /go/src/github.com/siyuan-note/siyuan/app/appearance/ /opt/siyuan/ &&     mv /go/src/github.com/siyuan-note/siyuan/app/stage/ /opt/siyuan/ &&     mv /go/src/github.com/siyuan-note/siyuan/app/guide/ /opt/siyuan/ &&     mv /go/src/github.com/siyuan-note/siyuan/app/changelogs/ /opt/siyuan/ &&     mv /go/src/github.com/siyuan-note/siyuan/kernel/kernel /opt/siyuan/ &&     mv /go/src/github.com/siyuan-note/siyuan/kernel/entrypoint.sh /opt/siyuan/entrypoint.sh &&     find /opt/siyuan/ -name .git | xargs rm -rf" did not complete successfully: exit code: 1
@88250 88250 changed the title Docker 镜像无法构建 linux/arm/v7,linux/arm/v8 无法构建 linux/arm/v7 和 linux/arm/v8 Docker 镜像 May 27, 2025
@88250 88250 self-assigned this May 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant