-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
56afb75
commit c41957c
Showing
2 changed files
with
23 additions
and
1 deletion.
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,16 @@ | ||
FROM golang:1.17-alpine as builder | ||
RUN mkdir build | ||
WORKDIR /build | ||
COPY go.mod go.sum ./ | ||
RUN go mod download | ||
COPY . . | ||
RUN apk add --no-cache make git | ||
RUN make build | ||
|
||
FROM busybox | ||
LABEL maintainer="marco.franssen@philips.com" | ||
RUN mkdir -p /app | ||
WORKDIR /app | ||
ENV VAULT_ADDR= | ||
COPY --from=builder build/bin/spiffe-vault . | ||
ENTRYPOINT [ "/app/spiffe-vault" ] |
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