-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade go to 1.19 and build multi-platform docker image (#260)
Also: - bump arr-ai/frozen to latest - upgrade linter to latest and fix all the linting errors - remove go-bindata (replace with embed)
- Loading branch information
1 parent
fb391b2
commit ad27e8c
Showing
47 changed files
with
262 additions
and
416 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,4 @@ | |
.idea/ | ||
~$* | ||
syntax/*.arraiz | ||
.vscode |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,14 @@ | ||
FROM golang:alpine3.12 AS stage | ||
ARG go_ver=1.19 | ||
ARG alpine_ver=3.16 | ||
|
||
FROM golang:${go_ver}-alpine${alpine_ver} AS stage | ||
RUN apk add --no-cache make git | ||
RUN go get github.com/anz-bank/go-bindata/... | ||
|
||
WORKDIR /usr/arrai | ||
COPY . . | ||
RUN make build | ||
|
||
FROM golang:alpine3.12 | ||
FROM golang:${go_ver}-alpine${alpine_ver} | ||
COPY --from=stage /usr/arrai/arrai /bin/arrai | ||
|
||
ENTRYPOINT ["/bin/arrai"] |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,45 @@ | ||
module github.com/arr-ai/arrai/examples/bundle | ||
|
||
go 1.15 | ||
go 1.18 | ||
|
||
require ( | ||
github.com/arr-ai/arrai v0.179.0 | ||
github.com/stretchr/testify v1.6.1 | ||
github.com/stretchr/testify v1.7.0 | ||
) | ||
|
||
require ( | ||
github.com/anz-bank/pkg v0.0.22 // indirect | ||
github.com/arr-ai/frozen v0.20.1 // indirect | ||
github.com/arr-ai/hash v0.8.0 // indirect | ||
github.com/arr-ai/wbnf v0.34.0 // indirect | ||
github.com/cpuguy83/go-md2man/v2 v2.0.0 // indirect | ||
github.com/davecgh/go-spew v1.1.1 // indirect | ||
github.com/go-errors/errors v1.4.0 // indirect | ||
github.com/golang/protobuf v1.5.2 // indirect | ||
github.com/google/go-github/v32 v32.1.0 // indirect | ||
github.com/google/go-querystring v1.0.0 // indirect | ||
github.com/iancoleman/strcase v0.1.3 // indirect | ||
github.com/mattn/go-isatty v0.0.12 // indirect | ||
github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826 // indirect | ||
github.com/pkg/errors v0.9.1 // indirect | ||
github.com/pmezard/go-difflib v1.0.0 // indirect | ||
github.com/richardlehane/mscfb v1.0.3 // indirect | ||
github.com/richardlehane/msoleps v1.0.1 // indirect | ||
github.com/russross/blackfriday/v2 v2.1.0 // indirect | ||
github.com/sirupsen/logrus v1.8.1 // indirect | ||
github.com/spf13/afero v1.3.5 // indirect | ||
github.com/stretchr/objx v0.3.0 // indirect | ||
github.com/urfave/cli/v2 v2.2.0 // indirect | ||
github.com/xuri/efp v0.0.0-20210322160811-ab561f5b45e3 // indirect | ||
github.com/xuri/excelize/v2 v2.4.1 // indirect | ||
golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 // indirect | ||
golang.org/x/net v0.0.0-20210726213435-c6fcb2dbf985 // indirect | ||
golang.org/x/oauth2 v0.0.0-20200902213428-5d25da1a8d43 // indirect | ||
golang.org/x/sys v0.0.0-20210910150752-751e447fb3d0 // indirect | ||
golang.org/x/text v0.3.7 // indirect | ||
google.golang.org/appengine v1.6.6 // indirect | ||
google.golang.org/protobuf v1.26.0 // indirect | ||
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect | ||
) | ||
|
||
replace github.com/arr-ai/arrai => ../.. |
Oops, something went wrong.