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
Unable to build quickstart hello
image
#2202
Comments
Have you changed module name in go.mod? @isc-rsaptars |
The module must be named |
Here is my go.mod file:
I believe this is similar to #2097 (which was resolved?)
|
If I understand the error correctly, the error is due to the |
Ah I see. |
But I think currently is should work in emulation mode. Do you have qemu installed? Then it could possibly run as amd64, but it would be slow. |
@isc-rsaptars I think paketo buildpacks might not support arm64 yet. |
If I were to create a paketo-buildpack for arm64 following these instructions: https://github.com/dmikusa/paketo-arm64 |
Optionally, are there any instructions on how to build images using the |
You might try setting builder image and buildpacks in func.yaml. |
The |
If you find some other buildpack builder that works for arm64 you can use it by |
Thanks! I will keep you updated on how that goes |
@matejvasek looks like paketo-buildpack does support arm64 now: paketo-buildpacks/jammy-tiny-stack#108 |
How is the |
That's just a stack image not builder/buildpack images. |
|
Hi @matejvasek , Can you share me the doc which can help me clear my doubts on this? Thanks |
I am facing same issue but in my case, there is no like this one?
Arch: amd64 Error: go: no main packages to build |
It's just way things were implemented. The package is expected to be just |
@lkingland could you please look at this? I do not own arm machine. |
System Version: macOS 14.2.1 (23C71)
Kernel Version: Darwin 23.2.0
Model Name: MacBook Pro
Model Identifier: Mac14,6
Model Number: Z17900052LL/A
Chip: Apple M2 Max (ARM)
Total Number of Cores: 12 (8 performance and 4 efficiency)
Memory: 64 GB
I am trying to follow the steps in this quickstart guide: https://knative.dev/docs/getting-started/build-run-deploy-func
I have reached the build function image step, https://knative.dev/docs/getting-started/build-run-deploy-func, and I get the following error when I run
kn func run --registry <registry-url>
:<registry-url> has been redacted on purpose.
I am not able to proceed because of this. Any help you can provide would be much appreciated.
The text was updated successfully, but these errors were encountered: