Skip to content
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

⚡️Reduce size of outputted Docker image #4

Closed
ryandens opened this issue Nov 24, 2020 · 1 comment
Closed

⚡️Reduce size of outputted Docker image #4

ryandens opened this issue Nov 24, 2020 · 1 comment

Comments

@ryandens
Copy link
Owner

ryandens commented Nov 24, 2020

Right now, the Docker image produced by this project is based off of the golang:1.15.5 Docker image. While this mock Nomad agent doesn't have any reasonable use in a production environment, for performance reasons we should prefer to build a statically linked Go binary using a multi-stage Docker build

@ryandens ryandens changed the title ⚡️Reduce size of outputted Docker ⚡️Reduce size of outputted Docker image Nov 24, 2020
@ryandens
Copy link
Owner Author

Accomplished by: 653ea6b

Originally this issue proposed building a statically linked go binary but after further research Nomad requires CGO as mentioned in this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant