Skip to content

Provide arm binaries #47

@cescoferraro

Description

@cescoferraro

I think it would be nice if we could provide arm binaries for the next release.
Gox does not support all arm arch, as of right now
It think you know that. I have used https://github.com/franciscocpg/gox lately and it works great.

We just need to change this dep

https://github.com/dnephin/dobi/blob/master/dockerfiles/Dockerfile.build#L16

But the build script need a little change

https://github.com/dnephin/dobi/blob/master/script/build#L7

Maybe

gox \
    -ldflags "-X github.com/dnephin/dobi/cmd.gitsha=$gitsha \
              -X \"github.com/dnephin/dobi/cmd.buildDate=$builddate\"" \
    -output="/go/bin/dobi-{{.OS}}/{{.Arch}}" \
    -arch="amd64 armv5 armv6 armv7" -os="$oslist"   \
    .

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions