-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #20 from displague/useNBCRebuild
Use NBC Rebuild features in UpdateLoadBalancer
- Loading branch information
Showing
2,903 changed files
with
720 additions
and
1,004,019 deletions.
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
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 |
---|---|---|
@@ -1,15 +1,15 @@ | ||
# Build the manager binary | ||
FROM golang:1.11.2 as builder | ||
FROM golang:1.11.5 as builder | ||
|
||
WORKDIR /go/src/github.com/linode/linode-cloud-controller-manager | ||
COPY cloud/ cloud/ | ||
COPY *.go ./ | ||
COPY vendor/ vendor/ | ||
COPY go.* *.go ./ | ||
COPY cloud/ ./cloud | ||
ENV GO111MODULE=on | ||
|
||
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o linode-cloud-controller-manager github.com/linode/linode-cloud-controller-manager | ||
|
||
FROM ubuntu:latest | ||
FROM alpine:latest | ||
RUN apk update && apk add ca-certificates && rm -rf /var/cache/apk/* | ||
WORKDIR /root/ | ||
RUN apt-get update -qq && apt-get install -qy ca-certificates | ||
COPY --from=builder /go/src/github.com/linode/linode-cloud-controller-manager/linode-cloud-controller-manager . | ||
ENTRYPOINT ["./linode-cloud-controller-manager"] | ||
COPY --from=builder /go/src/github.com/linode/linode-cloud-controller-manager/linode-cloud-controller-manager / | ||
ENTRYPOINT ["/linode-cloud-controller-manager"] |
Oops, something went wrong.