-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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 #11 from kubeflow/vicaire/samples
Adding a Dockerfile to create the scheduled workflow container.
- Loading branch information
Showing
3 changed files
with
29 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
FROM golang | ||
|
||
WORKDIR /go/src/github.com/kubeflow/pipelines | ||
|
||
COPY . . | ||
|
||
RUN go get ./resources/scheduledworkflow/... | ||
|
||
# We need to remove this glog package as it conflicts with the glog package in | ||
# /go/src/github.com/golang/glog. | ||
RUN rm -r /go/src/k8s.io/kubernetes/vendor/github.com/golang/glog | ||
|
||
RUN go build -o /bin/controller ./resources/scheduledworkflow/*.go | ||
|
||
FROM ubuntu | ||
|
||
WORKDIR /bin | ||
|
||
COPY --from=0 /bin/controller /bin/controller | ||
|
||
CMD /bin/controller -alsologtostderr=true |
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