Initial commit
This commit is contained in:
parent
b97f30faf4
commit
1ade94ce28
16 changed files with 118 additions and 170 deletions
|
|
@ -6,9 +6,9 @@ WORKDIR /src
|
|||
COPY go.mod go.sum ./
|
||||
RUN go mod download
|
||||
COPY . .
|
||||
RUN CGO_ENABLED=0 go build -ldflags "-X main.Version=${CHECKER_VERSION}" -o /checker-openpgpkey .
|
||||
RUN CGO_ENABLED=0 go build -ldflags "-X main.Version=${CHECKER_VERSION}" -o /checker-email-keys .
|
||||
|
||||
FROM scratch
|
||||
COPY --from=builder /checker-openpgpkey /checker-openpgpkey
|
||||
COPY --from=builder /checker-email-keys /checker-email-keys
|
||||
EXPOSE 8080
|
||||
ENTRYPOINT ["/checker-openpgpkey"]
|
||||
ENTRYPOINT ["/checker-email-keys"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue