-
Notifications
You must be signed in to change notification settings - Fork 567
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
System independent build not possible #1084
Comments
Hi @wurstbrot, did you run |
Hi @cpendery , that works. |
👋 Thanks for the issue @wurstbrot! I'm sorry you had trouble with getting the image built as you outlined above. We've tried iterations where we included the I'm happy to update the documentation to make it easier to discover the development docs. Also happy to make other changes that you think would make the first-time setup on the project easier. Sorry again for the pain here! |
Hi @spiffcs,
A link to https://github.com/anchore/syft/blob/main/DEVELOPING.md (maybe with mentioning local build) in the README.md might help. |
I found a goreleaser bug that should cover this case A workaround I use when developing on Debian is to comment out all the arm64 bits in the goreleaser yaml file (which is not an acceptable long term solution) |
We believe this issue is resolved, if we're not understanding this please reopen! But we are going to investigate improvements to the documentation. |
What happened:
As a developer not knowing Go I want to build an image (in my case I want to try out https://github.com/patrikbeno/syft/tree/sbom-cataloger).
I just want to run
docker build -t test .
and have a running image.Instead, the image needs a step beforehand, the build of the application. I get the following error:
What you expected to happen:
I expect that the build of an image includes all steps (also application build). This is often achieved with a multistage build.
In case you provide me with:
I can create a PR with the build of an image via multistage build. To adjust of the github workflow (in case you want to remove the build step for example) would be your task.
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
I see it as a bug and not a feature request, because it should work in an easy way. I can not build the application on my system, because I get multiple errors:
Environment:
syft version
: latest maincat /etc/os-release
or similar): Linux/UbuntuThe text was updated successfully, but these errors were encountered: