Skip to content
This repository has been archived by the owner on Sep 15, 2022. It is now read-only.

Commit

Permalink
Building kedge & winch without CGO.
Browse files Browse the repository at this point in the history
Signed-off-by: Bartek Plotka <bwplotka@gmail.com>
  • Loading branch information
bwplotka committed Nov 28, 2018
1 parent 769c819 commit 01cbe85
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ RUN cd ${GOPATH}/src/github.com/improbable-eng/kedge && dep ensure

ARG BUILD_VERSION
RUN echo "Installing Kedge with version ${BUILD_VERSION}"
RUN go install -ldflags "-X main.BuildVersion=${BUILD_VERSION}" github.com/improbable-eng/kedge/cmd/kedge
RUN go install -ldflags "-X main.BuildVersion=${BUILD_VERSION}" github.com/improbable-eng/kedge/cmd/winch
RUN CGO_ENABLED=0 go install -ldflags "-X main.BuildVersion=${BUILD_VERSION}" github.com/improbable-eng/kedge/cmd/kedge
RUN CGO_ENABLED=0 go install -ldflags "-X main.BuildVersion=${BUILD_VERSION}" github.com/improbable-eng/kedge/cmd/winch

ENTRYPOINT ["/go/bin/kedge"]

0 comments on commit 01cbe85

Please sign in to comment.