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

Docker image for goreleaser #45

Open
jadwahab opened this issue Sep 28, 2021 · 1 comment
Open

Docker image for goreleaser #45

jadwahab opened this issue Sep 28, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@jadwahab
Copy link
Member

Right now goreleaser has it's own built binary so we just copy it over into the docker image but then we have some duplication so we have 2 Dockerfiles. (one for local builds and one for releaser builds)

@jadwahab jadwahab added the enhancement New feature or request label Sep 28, 2021
@roppa
Copy link
Contributor

roppa commented Sep 30, 2021

I took a look at goreleaser, looks like as we are using cgo its making it a little more complicated. We can either add a lot more lines of code to the gorelaser yml file, or keep the docker file as is. See https://goreleaser.com/cookbooks/cgo-and-crosscompiling/

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

No branches or pull requests

2 participants