-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update the doc on how to work locally
- Loading branch information
Showing
5 changed files
with
56 additions
and
40 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/.github | ||
/bin | ||
/charts | ||
/kubernetes | ||
|
||
/.gitignore | ||
/.goreleaser.yaml | ||
/CONTRIBUTING.md | ||
/ct.yaml | ||
/skaffold.yaml | ||
/README.md | ||
/Makefile | ||
/LICENSE.txt |
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
FROM golang:1.21 as build | ||
|
||
ENV CGO_ENABLED=0 | ||
|
||
WORKDIR /go/ingress-controller | ||
|
||
COPY go.mod go.sum /go/ingress-controller/ | ||
RUN go mod download | ||
|
||
COPY . . | ||
RUN go build -o ./bin/ingress-controller ./cmd/caddy | ||
|
||
FROM gcr.io/distroless/static-debian11 | ||
|
||
EXPOSE 80 443 | ||
|
||
COPY --from=build /go/ingress-controller/bin/ingress-controller /ingress-controller | ||
|
||
ENTRYPOINT ["/ingress-controller"] |
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