-
Notifications
You must be signed in to change notification settings - Fork 14
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
feat: compile static binary as release assets and docker image #221
feat: compile static binary as release assets and docker image #221
Conversation
Signed-off-by: zemyblue <zemyblue@gmail.com>
Signed-off-by: zemyblue <zemyblue@gmail.com>
Signed-off-by: zemyblue <zemyblue@gmail.com>
Signed-off-by: zemyblue <zemyblue@gmail.com>
Signed-off-by: zemyblue <zemyblue@gmail.com>
Signed-off-by: zemyblue <zemyblue@gmail.com>
Signed-off-by: zemyblue <zemyblue@gmail.com>
Signed-off-by: zemyblue <zemyblue@gmail.com>
Signed-off-by: zemyblue <zemyblue@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We get similar binaries by several logics, by Makefile or by Dockerfile. This pr adds the way even more. We should consider tidy up the logics. We can reuse some logics in the other logics.
Also, we should concentrate on the main targets. The others just increases our burden on maintenance & QA.
Yes, there are meny build option and it is a little complex. I also think It need to arrange it. I'll add as a issue it. And I'll try to fix it as another pr. |
Signed-off-by: zemyblue <zemyblue@gmail.com>
…hia#221) * build: modify docker image base and binary using static library. Signed-off-by: zemyblue <zemyblue@gmail.com> * chore: change the description in readme Signed-off-by: zemyblue <zemyblue@gmail.com> * fix: localnet-docker-build unittest Signed-off-by: zemyblue <zemyblue@gmail.com> * ci: change the github action ci for pushing Docker images Signed-off-by: zemyblue <zemyblue@gmail.com> * ci: change release build for using static binary assets. Signed-off-by: zemyblue <zemyblue@gmail.com> * chore: update changelog Signed-off-by: zemyblue <zemyblue@gmail.com> * fix: parse tag in github action of docker.yml Signed-off-by: zemyblue <zemyblue@gmail.com> * ci: change docker build and push trigger Signed-off-by: zemyblue <zemyblue@gmail.com> * ci: remove condition if `pull_request` or not. Signed-off-by: zemyblue <zemyblue@gmail.com> * fix: typo Signed-off-by: zemyblue <zemyblue@gmail.com> * chore: remove debian11 and nonroot base docker image Signed-off-by: zemyblue <zemyblue@gmail.com> --------- Signed-off-by: zemyblue <zemyblue@gmail.com> (cherry picked from commit 225b581)
…res (#221, #223) (#225) * feat: add integrated swagger for finschia (#223) * feat: add integrated swagger for finschia. Signed-off-by: zemyblue <zemyblue@gmail.com> * chore: update changelog Signed-off-by: zemyblue <zemyblue@gmail.com> * ci: add a ci to check generated code. Signed-off-by: zemyblue <zemyblue@gmail.com> * ci: add a ci to check generated code up-to-date Signed-off-by: zemyblue <zemyblue@gmail.com> * fix: ci error Signed-off-by: zemyblue <zemyblue@gmail.com> (cherry picked from commit b98ef07008b1a1e93882447e67286a0a2ae6339f) --------- Signed-off-by: zemyblue <zemyblue@gmail.com> (cherry picked from commit d649d83) * feat: compile static binary as release assets and docker image (#221) * build: modify docker image base and binary using static library. Signed-off-by: zemyblue <zemyblue@gmail.com> * chore: change the description in readme Signed-off-by: zemyblue <zemyblue@gmail.com> * fix: localnet-docker-build unittest Signed-off-by: zemyblue <zemyblue@gmail.com> * ci: change the github action ci for pushing Docker images Signed-off-by: zemyblue <zemyblue@gmail.com> * ci: change release build for using static binary assets. Signed-off-by: zemyblue <zemyblue@gmail.com> * chore: update changelog Signed-off-by: zemyblue <zemyblue@gmail.com> * fix: parse tag in github action of docker.yml Signed-off-by: zemyblue <zemyblue@gmail.com> * ci: change docker build and push trigger Signed-off-by: zemyblue <zemyblue@gmail.com> * ci: remove condition if `pull_request` or not. Signed-off-by: zemyblue <zemyblue@gmail.com> * fix: typo Signed-off-by: zemyblue <zemyblue@gmail.com> * chore: remove debian11 and nonroot base docker image Signed-off-by: zemyblue <zemyblue@gmail.com> --------- Signed-off-by: zemyblue <zemyblue@gmail.com> (cherry picked from commit 225b581) * fix: build option error Signed-off-by: zemyblue <zemyblue@gmail.com> * fix: build option error in docker Signed-off-by: zemyblue <zemyblue@gmail.com> * fix: build option error in docker Signed-off-by: zemyblue <zemyblue@gmail.com> --------- Signed-off-by: zemyblue <zemyblue@gmail.com>
Description
closes: #71 , #203
Changes
fnsad
version in docker image was not displayed.linux/amd64
andlinux/arm64
)Motivation and context
The release assets cannot execute without install dynamic library(libwasmvm). So it is very uncomfortable.
How has this been tested?
Screenshots (if appropriate):
The sample release assets results.
Checklist:
CHANGELOG.md