Skip to content

Commit

Permalink
chore: add git to go sdk
Browse files Browse the repository at this point in the history
Signed-off-by: Justin Chadwell <[email protected]>
  • Loading branch information
jedevc committed Apr 25, 2024
1 parent 6002668 commit c95a049
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ci/build/sdk.go
Expand Up @@ -124,7 +124,8 @@ func (build *Builder) typescriptSDKContent(ctx context.Context) (*sdkContent, er

func (build *Builder) goSDKContent(ctx context.Context) (*sdkContent, error) {
base := dag.Container(dagger.ContainerOpts{Platform: build.platform}).
From(fmt.Sprintf("golang:%s-alpine%s", consts.GolangVersion, consts.AlpineVersion))
From(fmt.Sprintf("golang:%s-alpine%s", consts.GolangVersion, consts.AlpineVersion)).
WithExec([]string{"apk", "add", "git"})

sdkCtrTarball := base.
WithEnvVariable("GOTOOLCHAIN", "auto").
Expand Down

0 comments on commit c95a049

Please sign in to comment.