Skip to content

Commit

Permalink
Update go version and fix new musl error (#112)
Browse files Browse the repository at this point in the history
  • Loading branch information
kminehart authored Aug 7, 2023
1 parent 5d3bbaa commit 4383256
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion containers/build_backend.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
)

const (
GoImageAlpine = "golang:1.20.2-alpine"
GoImageAlpine = "golang:1.20.7-alpine"
)

var GrafanaCommands = []string{
Expand Down
3 changes: 3 additions & 0 deletions executil/go_build.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,9 @@ func GoBuildEnv(opts *GoBuildOpts) map[string]string {

if opts.CGOEnabled {
env["CGO_ENABLED"] = "1"

// https://github.com/mattn/go-sqlite3/issues/1164#issuecomment-1635253695
env["CGO_CFLAGS"] = "-D_LARGEFILE64_SOURCE"
} else {
env["CGO_ENABLED"] = "0"
}
Expand Down

0 comments on commit 4383256

Please sign in to comment.