Skip to content
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

Dockerfile: test arch makes build fail on x86 #19

Closed
cdfmlr opened this issue Mar 31, 2023 · 1 comment
Closed

Dockerfile: test arch makes build fail on x86 #19

cdfmlr opened this issue Mar 31, 2023 · 1 comment
Labels
bug Something isn't working
Milestone

Comments

@cdfmlr
Copy link
Owner

cdfmlr commented Mar 31, 2023

我傻了,用 test 做判断,导致 return false, docker build 失败。

RUN test $(uname -m) = 'aarch64' && \
    ...

大概要改成 if 吧...吗?

if [ "$(uname -m)" = "aarch64" ]; then ...; fi
@cdfmlr cdfmlr added the bug Something isn't working label Mar 31, 2023
@cdfmlr cdfmlr modified the milestones: v0.3.1, v0.3.2 Apr 9, 2023
@cdfmlr
Copy link
Owner Author

cdfmlr commented Apr 9, 2023

应该已经解决了: 6510734

@cdfmlr cdfmlr closed this as completed Apr 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

No branches or pull requests

1 participant