Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set ENTRYPOINT and CMD for Dockerfile.controller #65

Merged
merged 1 commit into from
Apr 10, 2018

Conversation

fanzhangio
Copy link

@fanzhangio fanzhangio commented Apr 9, 2018

Fixes #55

  • Set executable binary for ENTRYPOINT
  • Set default value of --install-crds=false as CMD, which can be override.

- Set executale binary for ENTRYPOINT
- Set default value of --install-crds=false as CMD, which can be overrided.
@k8s-ci-robot k8s-ci-robot added size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Apr 9, 2018
@@ -85,15 +85,16 @@ COPY cmd/ cmd/
COPY vendor/ vendor/

# Build and test the API code
RUN go build -a -o controller-manager ./cmd/controller-manager/main.go
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o controller-manager ./cmd/controller-manager/main.go
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe make these environment variables with ENV

@pwittrock pwittrock merged commit 1b999cb into kubernetes-sigs:master Apr 10, 2018
@fanzhangio fanzhangio deleted the issue55 branch May 23, 2018 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants