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
Reproducible builds #5
Comments
I put together a Dockerfile and script that generate deterministic executables for MacOS and Linux; it's at the root of the repository: https://github.com/zenhack/docker-spk/blob/master/Dockerfile Before I actually upload releases I'd ideally like someone else to confirm that they can actually reproduce my results; I was able to get the same output with a few different hosts (though all using the same docker container...), but would be good to sanity check. The checksums for the binaries I got:
|
//cc @ocdtrekkie, @JamborJan |
hey @zenhack, do you have any experience with Gitlab CI / CD? I just started looking into it to build stuff reproducible. But as I don't have any experience with go I was not able to do that super quickly. One error message was easy, as a Heroku image was used but the other error messages at the end are not so easy to solve for me. Maybe you can take a look and let me know if this makes sense at all or not. If it makes sense: I'm happy to help :-) |
I made a comment on one of the diffs there. But if you've got docker set
up locally, you should be able to just do `docker build .` in the root
of the repository to build the same image I got; see the comments in the
Dockerfile.
Also, Gitlab CI lets you supply any docker image as a base; If you're
going to try to build in Gitlab CI I'd recommend building off of the
same golang image I'm using in the Dockerfile. I use Gitlab CI for my
Haskell projects; you can see an example of one of the configs I use
here:
https://gitlab.com/isd/layout-dsl/blob/master/.gitlab-ci.yml
Quoting JJ (2018-10-05 14:07:02)
… hey ***@***.***, do you have any experience with Gitlab CI / CD? I just
started looking into it to build stuff reproducible. But as I don't
have any experience with go I was not able to do that super quickly.
One error message was easy, as a Heroku image was used but the other
error messages at the end are not so easy to solve for me. Maybe you
can take a look and let me know if this makes sense at all or not. If
it makes sense: I'm happy to help :-)
[2]https://gitlab.com/JamborJan/docker-spk/-/jobs/105231441
--
You are receiving this because you were mentioned.
Reply to this email directly, [3]view it on GitHub, or [4]mute the
thread.
Verweise
1. https://github.com/zenhack
2. https://gitlab.com/JamborJan/docker-spk/-/jobs/105231441
3. #5 (comment)
4. https://github.com/notifications/unsubscribe-auth/AA18PqF3JdFNxUjIm7mHOIVoXRtRZ5Ggks5uh5_GgaJpZM4XE6Ro
|
Thanks! I'll take a look at this.
On Fri, Oct 5, 2018 at 8:37 PM +0200, "Ian Denhardt" <notifications@github.com<mailto:notifications@github.com>> wrote:
I made a comment on one of the diffs there. But if you've got docker set
up locally, you should be able to just do `docker build .` in the root
of the repository to build the same image I got; see the comments in the
Dockerfile.
Also, Gitlab CI lets you supply any docker image as a base; If you're
going to try to build in Gitlab CI I'd recommend building off of the
same golang image I'm using in the Dockerfile. I use Gitlab CI for my
Haskell projects; you can see an example of one of the configs I use
here:
https://gitlab.com/isd/layout-dsl/blob/master/.gitlab-ci.yml
Quoting JJ (2018-10-05 14:07:02)
hey ***@***.***, do you have any experience with Gitlab CI / CD? I just
started looking into it to build stuff reproducible. But as I don't
have any experience with go I was not able to do that super quickly.
One error message was easy, as a Heroku image was used but the other
error messages at the end are not so easy to solve for me. Maybe you
can take a look and let me know if this makes sense at all or not. If
it makes sense: I'm happy to help :-)
[2]https://gitlab.com/JamborJan/docker-spk/-/jobs/105231441
--
You are receiving this because you were mentioned.
Reply to this email directly, [3]view it on GitHub, or [4]mute the
thread.
Verweise
1. https://github.com/zenhack
2. https://gitlab.com/JamborJan/docker-spk/-/jobs/105231441
3. #5 (comment)
4. https://github.com/notifications/unsubscribe-auth/AA18PqF3JdFNxUjIm7mHOIVoXRtRZ5Ggks5uh5_GgaJpZM4XE6Ro
-
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#5 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AHKT4CJXowXBI2qQI9FEH0IWi_9EjNXEks5uh6bjgaJpZM4XE6Ro>.
|
No problem; let me know how it goes. |
I'm going to close this one for now; I've uploaded binaries for the |
Per discussion in #3, I'd like to get a reproducible build process working and documented, so I can comfortably release binaries for users who don't want to build from source.
The text was updated successfully, but these errors were encountered: