mirror of
https://github.com/netbirdio/netbird.git
synced 2024-11-25 01:23:22 +01:00
14 lines
219 B
Docker
14 lines
219 B
Docker
FROM docker.io/golang:1.16 AS build
|
|
|
|
WORKDIR /src
|
|
|
|
COPY go.mod .
|
|
COPY . .
|
|
|
|
RUN go mod download
|
|
RUN go install .
|
|
|
|
FROM gcr.io/distroless/base
|
|
COPY --from=build /go/bin/wiretrustee-hub /
|
|
ENTRYPOINT [ "/wiretrustee-hub" ]
|