-
Notifications
You must be signed in to change notification settings - Fork 116
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
question / idea #15
Comments
I'm sorry, but I don't fully understand your use case. Can you give an example? |
Ok I try. You are building a go package that relies on lots of c based compiled libs. So you embedded everything as part if the release. When its deployed, it unpacks, using the same bash script you useg on your macbook. Its acting as an installer essentially. |
But you can't do that with Go at all! Go executable for Linux would not run at Mac. You must use some other On Mon, May 4, 2015 at 9:10 PM, joeblew99 [email protected] wrote:
|
No I think your missing the point. Its basically packaging the dependencies with the executable, and then installing the dependencies when deployed. Obviously its is specific. |
OK, I see. Why do you need assetfs for that? Just copy the dependencies On Mon, May 4, 2015 at 9:35 PM, joeblew99 [email protected] wrote:
|
Because when you deplo to 200 servers and its 20 different packages, thats 4000 things that could go wrong. Its idempotent basically |
I meant, embed everything in the binary, and have the binary copy it. You On Mon, May 4, 2015 at 9:39 PM, joeblew99 [email protected] wrote:
|
Ok thanks. Closing.. :) |
this looks really nice.
i am thinking of a slightly different applicatin of this.
I think i can use this for packaging my own server deployment package too. Like when you need a stupid c lib on the server or client. i can pack it in, and then install it from a nice single deployed app.
the .sh bash install script can be embedded, but i expect a golang server on the server will need to call it, due to security issues.
does anyone else know a different way of approaching this ? Or maybe your interested in extending this project to do it, or make another project that uses this to do it.
The text was updated successfully, but these errors were encountered: