Skip to content

Commit

Permalink
feat: add signal Docker
Browse files Browse the repository at this point in the history
  • Loading branch information
braginini committed May 5, 2021
1 parent 682049b commit 54e4e74
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 13 deletions.
19 changes: 19 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
FROM docker.io/golang:1.16 AS build

WORKDIR /src

COPY go.mod .
COPY cmd .
COPY connection .
COPY iface .
COPY signal .
COPY util .
COPY main.go .

RUN go mod download
RUN go mod tidy
RUN go install .

FROM gcr.io/distroless/base
COPY --from=build /go/bin/wiretrustee /
ENTRYPOINT [ "/wiretrustee signal" ]
13 changes: 0 additions & 13 deletions signal/Dockerfile

This file was deleted.

0 comments on commit 54e4e74

Please sign in to comment.