-
Notifications
You must be signed in to change notification settings - Fork 51
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 #147 from boxboat/feature-spire
Feature spire
- Loading branch information
Showing
29 changed files
with
1,222 additions
and
239 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,18 @@ | ||
ARG GO_VERSION=1.17 | ||
|
||
FROM golang:${GO_VERSION}-alpine as build | ||
|
||
RUN apk --no-cache add make | ||
WORKDIR /src | ||
COPY go.mod go.sum /src/ | ||
RUN go mod download | ||
COPY . /src/ | ||
RUN make build | ||
|
||
FROM gcr.io/distroless/base:debug AS debug | ||
COPY --from=build /src/bin/in-toto /bin/in-toto | ||
ENTRYPOINT [ "/bin/in-toto" ] | ||
|
||
FROM gcr.io/distroless/base | ||
COPY --from=build /src/bin/in-toto /bin/in-toto | ||
ENTRYPOINT [ "/bin/in-toto" ] |
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
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.