-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #440 from authzed/dependabot/go_modules/go-mod-4e9…
…6566553 build(deps): bump the go-mod group across 1 directory with 14 updates
- Loading branch information
Showing
5 changed files
with
97 additions
and
89 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,12 @@ | ||
FROM golang:1.23-alpine3.20 AS zed-builder | ||
# NOTE: we use the chainguard image here rather | ||
# than the golang image because the golang image | ||
# uses musl as its libc, and chainguard no longer provides | ||
# a musl-dynamic container. - 2024-12-02 Tanner Stirrat | ||
FROM cgr.dev/chainguard/go:latest AS zed-builder | ||
WORKDIR /go/src/app | ||
RUN apk update && apk add --no-cache git | ||
COPY . . | ||
RUN go build -v ./cmd/zed/ | ||
|
||
FROM cgr.dev/chainguard/musl-dynamic:latest | ||
FROM cgr.dev/chainguard/glibc-dynamic:latest | ||
COPY --from=zed-builder /go/src/app/zed /usr/local/bin/zed | ||
ENTRYPOINT ["zed"] |
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
Oops, something went wrong.