Skip to content

Commit

Permalink
universe.dagger.io/go: add git by default in go.#Image
Browse files Browse the repository at this point in the history
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
  • Loading branch information
vdemeester committed Apr 1, 2022
1 parent 265cf9c commit 5d2700d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions pkg/universe.dagger.io/go/image.cue
Expand Up @@ -12,6 +12,7 @@ _#DefaultVersion: "1.18"
version: *_#DefaultVersion | string

packages: [pkgName=string]: version: string | *""
packages: "git": _

// FIXME Basically a copy of alpine.#Build with a different image
// Should we create a special definition?
Expand Down
4 changes: 2 additions & 2 deletions pkg/universe.dagger.io/go/test/image.cue
Expand Up @@ -18,7 +18,7 @@ dagger.#Plan & {
command: {
name: "/bin/sh"
args: ["-c", """
go version | grep "1.18"
go version | grep "1.18" ; git version
"""]
}
}
Expand All @@ -35,7 +35,7 @@ dagger.#Plan & {
command: {
name: "/bin/bash"
args: ["-c", """
go version | grep "1.17"
go version | grep "1.17" ; git version
"""]
}
}
Expand Down

0 comments on commit 5d2700d

Please sign in to comment.