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

Create a release #2

Open
omallo opened this issue Jan 16, 2017 · 4 comments
Open

Create a release #2

omallo opened this issue Jan 16, 2017 · 4 comments

Comments

@omallo
Copy link

omallo commented Jan 16, 2017

I wanted to ask whether it would be possible to create a GitHub release for this project with some precompiled binaries (at least for Linux i386/x64)?

This would make it easier to consume the (really nice :-)) tool e.g. from Docker images without having to compile it.

@todinov
Copy link

todinov commented Apr 26, 2017

+1 for this. It will really be useful for the same reason (Docker)

@Noah-Huppert
Copy link

I recently made a Makefile for my own Go project that cross compiles 32 (386) & 64-bit(amd64) for Linux, OSX (darwin), and Windows.

Here is the README section about how to use it.

Someone could snag that and modify it for this project (Find & replace kubeci for gotpl). I assume that the MIT license, which the project the Makefile is from uses, is compatible with the Apache license this project has. I'm not really sure about much of that area.

@mfriedenhagen
Copy link

Late to the game but now there are multi-stage docker files, see https://docs.docker.com/develop/develop-images/multistage-build/#name-your-build-stages
So something like this should be sufficient:

FROM golang:latest AS builder
RUN go get github.com/tsg/gotpl

FROM alpine:latest  
COPY --from=builder /go/bin/gotpl /usr/local/bin

@mcandre
Copy link

mcandre commented Dec 13, 2019

Please do this, and upload precompiled binaries for non-Go users, so that everyone can enjoy this wonderful tool!

For example, goxcart can quickly build a directory tree of binaries for many different platforms. Then TGZ or ZIP, drag and drop onto the GitHub release editing page.

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

5 participants