This repository was archived by the owner on Nov 7, 2019. It is now read-only.
Build Statically Linked Binary#201
Open
flemingdp wants to merge 1 commit intoamazon-archives:masterfrom
flemingdp:static_binary
Open
Build Statically Linked Binary#201flemingdp wants to merge 1 commit intoamazon-archives:masterfrom flemingdp:static_binary
flemingdp wants to merge 1 commit intoamazon-archives:masterfrom
flemingdp:static_binary
Conversation
Contributor
|
@christopherhein any opinion on this? |
Contributor
|
@computeracer thanks for this PR. Are you trying to use |
Author
|
I was building using the make file and putting the resultant binary into a
container. I didnt realize goreleaser was recommended. Is there
instructions on that?
…On Fri, Jul 12, 2019, 11:49 AM Christopher Hein ***@***.***> wrote:
@computeracer <https://github.com/computeracer> thanks for this PR. Are
you trying to use goreleaser to build the images? The Makefile purpose
for my use cases was local dev so I could test against a remote cluster
then would build my images using goreleaser?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#201>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADT7EL6Q2PEE3NPKD5QCERDP7CRX3ANCNFSM4IBVDSTQ>
.
|
Contributor
|
@computeracer no but PR's welcome. :) If you check out the |
- We found when building the binary it would not run in the container. - Adding these variables and flags build a portable self contained linux binary.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue #202
Description of changes:
container.
linux binary.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.