This repository was archived by the owner on Mar 24, 2026. It is now read-only.
Repository navigation
⬆️ Bump Go 1.19 + GoFrame 2.1.4 + set GOAMD64=v3 - #7599
Merged
Merged
Conversation
This change sets the default executable name to "app". We may also drop the `-o app` in the Dockerfile.
this avoids the `go generate` output being polluted by Go downloads
GOAMD64=v3
GOAMD64=v3GOAMD64=v3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
GOAMD64=v3to enable the following instructions set: CMPXCHG16B, LAHF, SAHF, POPCNT, SSE3, SSE4.1, SSE4.2, SSSE3, AVX, AVX2, BMI1, BMI2, F16C, FMA, LZCNT, MOVBE, OSXSAVE. The default value isGOAMD64=v1. See https://github.com/golang/go/wiki/MinimumRequirements#amd64RUN go get -u github.com/valyala/quicktemplate/qtc(Dockerfile) by//go:generate go run github.com/valyala/quicktemplate/qtcin the source code. That way Go-1.19 is aware of the dependency onqtcand adds automatically it in thego.modwith a fixed version to reproduce the samego generate.RUN easyjson -pkgby//go:generate go run github.com/mailru/easyjson/... -all -disable_members_unescape ${GOFILE}using-disable_members_unescapefor better performance.goframetogoframe/app. This change sets the default executable name to "app". We may also drop the-o appin the Dockerfile.Note: I insert
docker.io/in theFROM docker.io/golang:1.19statement to allowpodmanandbuildahto also build the container images.