Skip to content

Commit

Permalink
go: set GOTOOLCHAIN=local+auto (#1239)
Browse files Browse the repository at this point in the history
Signed-off-by: Jason Hall <jason@chainguard.dev>
  • Loading branch information
imjasonh authored Aug 22, 2023
1 parent 74e1690 commit b95d64b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions images/go/configs/1.20.apko.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ accounts:

environment:
GODEBUG: tarinsecurepath=0,zipinsecurepath=0
# See: https://go.dev/doc/toolchain
GOTOOLCHAIN: local+auto

entrypoint:
command: /usr/bin/go
Expand Down
2 changes: 2 additions & 0 deletions images/go/configs/1.21.apko.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ accounts:

environment:
GODEBUG: tarinsecurepath=0,zipinsecurepath=0
# See: https://go.dev/doc/toolchain
GOTOOLCHAIN: local+auto

entrypoint:
command: /usr/bin/go
Expand Down
Binary file added images/go/hello
Binary file not shown.

0 comments on commit b95d64b

Please sign in to comment.