Skip to content

Broken build due to outdated go version #58

@a-rose

Description

@a-rose

Hi,

Building with make led me to the error below:

gopath/src/github.com/golang-jwt/jwt/ecdsa.go:135:4: r.FillBytes undefined (type *big.Int has no field or method FillBytes)
gopath/src/github.com/golang-jwt/jwt/ecdsa.go:136:4: s.FillBytes undefined (type *big.Int has no field or method FillBytes)

This can be fixed by upgrading Go to the latest stable release (go1.16.7 at the time of writing) in docker.sh.

Thanks :)

edit: some more changes are needed after upgrading; need to add @latest after prom2json and git-chlo

GOPATH=/gopath /usr/local/go/bin/go install github.com/prometheus/prom2json/cmd/prom2json@latest && \
GOPATH=/gopath /usr/local/go/bin/go get github.com/git-chglog/git-chglog && \
GOPATH=/gopath /usr/local/go/bin/go install github.com/git-chglog/git-chglog/cmd/git-chglog@latest && \
rm -rf /var/lib/apt/lists/*

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions