-
Notifications
You must be signed in to change notification settings - Fork 599
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into token-permissions
- Loading branch information
Showing
4 changed files
with
19 additions
and
8 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# Build a manager binary with debug symbols and download Delve | ||
FROM --platform=$BUILDPLATFORM golang:1.23.4 AS builder | ||
FROM --platform=$BUILDPLATFORM golang:1.23.4@sha256:7ea4c9dcb2b97ff8ee80a67db3d44f98c8ffa0d191399197007d8459c1453041 AS builder | ||
|
||
ARG GOPATH | ||
ARG GOCACHE | ||
|
@@ -46,8 +46,9 @@ RUN --mount=type=cache,target=$GOPATH/pkg/mod \ | |
|
||
### Debug | ||
# Create an image that runs a debug build with Delve installed | ||
FROM golang:1.23.4 AS debug | ||
RUN go install github.com/go-delve/delve/cmd/dlv@latest | ||
FROM --platform=$BUILDPLATFORM golang:1.23.4@sha256:7ea4c9dcb2b97ff8ee80a67db3d44f98c8ffa0d191399197007d8459c1453041 AS debug | ||
# renovate: datasource=github-releases depName=go-delve/delve | ||
RUN go install github.com/go-delve/delve/cmd/[email protected] | ||
# We want all source so Delve file location operations work | ||
COPY --from=builder /workspace/bin/manager-debug / | ||
USER 65532:65532 | ||
|
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