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

Build in Docker #333

Closed
wants to merge 3 commits into from
Closed

Conversation

russss
Copy link
Contributor

@russss russss commented Nov 6, 2019

I develop on a Mac, and when I tried to build a docker image using the method in the README it naturally failed because it was trying to run a darwin binary on the linux docker image.

This PR runs the Go build within Docker, which means I can build on my Mac. It also means that the version of Go used is consistent across builds as it's specified in the Dockerfile.

I haven't tried to change the CI build, so this PR is not complete, but I thought I'd submit it in case it was of interest.

@rhysjtevans
Copy link

Why wouldn't this be the default approach, definitely should be merged.

@coveralls
Copy link

coveralls commented Dec 24, 2020

Coverage Status

Coverage remained the same at 66.667% when pulling ec7b242 on russss:docker-build into 301976c on wrouesnel:master.

@SuperQ
Copy link
Contributor

SuperQ commented Mar 1, 2021

We're now using the Prometheus build system.

@SuperQ SuperQ closed this Mar 1, 2021
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

Successfully merging this pull request may close these issues.

None yet

5 participants