Fix cross-compile Docker build installation of zap#130
Open
Josh Lubawy (jlubawy) wants to merge 1 commit intoSiliconLabsSoftware:mainfrom
Open
Fix cross-compile Docker build installation of zap#130Josh Lubawy (jlubawy) wants to merge 1 commit intoSiliconLabsSoftware:mainfrom
Josh Lubawy (jlubawy) wants to merge 1 commit intoSiliconLabsSoftware:mainfrom
Conversation
| && apt update \ | ||
| && apt install -y --no-install-recommends /tmp/zap.deb \ | ||
| && rm -rf /var/lib/apt/lists/* | ||
| RUN wget -O /tmp/zap.zip https://github.com/project-chip/zap/releases/download/v2025.06.09/zap-linux-arm64.zip \ |
Contributor
There was a problem hiding this comment.
may the URL passed as docker build --build-arg ZAP_APP_URL
| && apt install -y --no-install-recommends /tmp/zap.deb \ | ||
| && rm -rf /var/lib/apt/lists/* | ||
| RUN wget -O /tmp/zap.zip https://github.com/project-chip/zap/releases/download/v2025.06.09/zap-linux-arm64.zip \ | ||
| && echo e0457d340965e153d84ca41addc257a8e4f6b4c1c8dfdb7d105779110e6d8451 /tmp/zap.zip > /tmp/zap.zip.sha256 \ |
Contributor
There was a problem hiding this comment.
and ZAP_APP_SHA256
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Same as SiliconLabs/UnifySDK#53
Change
I'm not 100% why it was broken for me (maybe the x64 instead of arm64), but when building on a Mac (with arm processor) I get errors when running
./docker/build_docker.sh arm64 uic_arm64. This PR fixes the issue.Might be better to replace
arm64with${ARCH}but I will leave that up to maintainers to decide what is right.Checklist