Skip to content

Commit

Permalink
Dockerfile: move manager from /root/ to / (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
justinsb authored and k8s-ci-robot committed Nov 30, 2018
1 parent b252255 commit 7329c8d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ RUN chmod a+rx /usr/bin/kubeadm

# Copy the controller-manager into a thin image
FROM ubuntu:latest
WORKDIR /root/
WORKDIR /
COPY --from=builder /go/src/sigs.k8s.io/cluster-api-provider-gcp/manager .
COPY --from=kubeadm /usr/bin/kubeadm /usr/bin/kubeadm
ENTRYPOINT ["./manager"]
ENTRYPOINT ["/manager"]
2 changes: 1 addition & 1 deletion config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ spec:
- name: manager
image: SET_BY_PATCH
command:
- "/root/manager"
- "/manager"
args:
- "-logtostderr=true"
- "-stderrthreshold=INFO"
Expand Down

0 comments on commit 7329c8d

Please sign in to comment.