-
Notifications
You must be signed in to change notification settings - Fork 463
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
API Proxy module can't be build with included build.sh #7368
Comments
Hey @samuliHeikkinen , can you share the logs for the Edge Hub and Edge Agent? Please make sure to redact any sensitive info. cc @nlcamp |
Hey @david-emakenemi , you mean info of the running containers or the builds? As per repo, the API Proxy module should be able to be compiled without compiling the whole project. This build issue also blocks the use of custom nginx config as the desired properties way won't work because template is over 4096 bytes while encoded to BASE64 which is over the maximum for desired property tags. |
It is also worth mentioning that https://github.com/emk/rust-musl-builder which is used as the base for the module image for amd64 is effectively unmaintained. |
Workaround for this is to build the ApiProxyModule first with |
@samuliHeikkinen - The following diff should fix the issue:
I'll make the change in a PR shortly. |
Expected Behavior
Running
./edge-modules/api-proxy-module/build.sh
should build the module.Current Behavior
After running the script it fails to OS Error 13 when trying to create a tmp file to
/opt/rust/rustup
Steps to Reproduce
Provide a detailed set of steps to reproduce the bug.
./edge-modules/api-proxy-module/build.sh
from the repository rootDevice Information
Logs
Additional Information
This is due to build.sh using
ekidd/rust-musl-builder
without a version tag which defaults tolatest
which in turn has had massive changes (remove of ARM support).The text was updated successfully, but these errors were encountered: