Skip to content

Commit

Permalink
Merge pull request #2 from ncdc/fix-build-arg
Browse files Browse the repository at this point in the history
Fix build arg
  • Loading branch information
ncdc authored Aug 3, 2023
2 parents a899599 + 6264964 commit eb36746
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Tiltfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ docker_build(
build_args={'GO_VERSION': '1.20'},
dockerfile_contents='''
ARG GO_VERSION
FROM golang:$GO_VERSION
RUN CGO_ENABLED=0 go install github.com/go-delve/delve/cmd/dlv@v$GO_VERSION
FROM golang:${GO_VERSION}
ARG GO_VERSION
RUN CGO_ENABLED=0 go install github.com/go-delve/delve/cmd/dlv@v${GO_VERSION}
'''
)

Expand Down

0 comments on commit eb36746

Please sign in to comment.