-
Notifications
You must be signed in to change notification settings - Fork 39
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
Build nonolithic version #21
Comments
Hi, @Yamakasi Tbh, it is contain only binary files, so in another word, it's already monolithic. |
@suquant When I build it on an Ubuntu machine and copy it over to an Alpine one with go installed I get "... not found" so something is not right. When I build it again in this same Alpine container it's all working fine. |
Hey @Yamakasi , This problem is likely due to the different base libraries used in Ubuntu and Alpine. Alpine uses musl libc instead of the glibc that Ubuntu uses, so a binary compiled on Ubuntu might not be compatible with Alpine's environment. To solve this, you have a couple of options:
Incorporating either of these approaches should resolve the compatibility issue you're facing. |
Hi,
Is there a way to build a monolithic version of this app so you simply can copy over the binary instead of all your code like it's done now in the Dockerfile ?
Would be great to know what can be excluded from /app in that case.
Thanks!
The text was updated successfully, but these errors were encountered: