Giter VIP home page Giter VIP logo

reproducible-go-binaries's Introduction


Logo

Reproducible-Go-Binaries

A quick and easy way to compile reproducible binaries with Golang.

How to use this repo

For a full walkthrough on how to use this repo, check out the Hackernoon article. Otherwise, read below for a quick overview.

This repo contains a Dockerfile and a Makefile to build reproducible Go binaries across 30 different build combinations.

If you want to build a reproducible binary for a specific operating system/system architecture, first copy the Dockerfile into the root directory of your project. Then create a new Makefile in the root of your project. Lastly find the OS/system architecture you are looking for in the Makefile located in the root of this repo. Copy and paste it into your Makefile and you are good to go. Make sure to give your binary file a name by assigning BUILDARCH to a value at the top of your Makefile.

You can also copy the Makefile in the all_builds directory instead to have a lightweight way to easily build reproducible binaries for all 30 build combinations.

reproducible-go-binaries's People

Contributors

0xkitsune avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

dexbotllc

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.