Skip to content

Commit

Permalink
check if katib is deployed and include it in CentralUI (kubeflow#1242)
Browse files Browse the repository at this point in the history
  • Loading branch information
swiftdiaries authored and k8s-ci-robot committed Jul 19, 2018
1 parent 5795dc2 commit f86630d
Show file tree
Hide file tree
Showing 11 changed files with 774 additions and 29 deletions.
15 changes: 15 additions & 0 deletions components/centraldashboard/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
FROM golang:1.10 AS builder

# Download and install the latest release of dep
ADD https://github.com/golang/dep/releases/download/v0.4.1/dep-linux-amd64 /usr/bin/dep
RUN chmod +x /usr/bin/dep

# Copy the code from the host and compile it
WORKDIR $GOPATH/src/github.com/kubeflow/kubeflow/components/centraldashboard
COPY Gopkg.toml Gopkg.lock ./
RUN dep ensure --vendor-only
COPY . ./
ENV PORT_1=8082
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix nocgo -o app .
EXPOSE 8082
ENTRYPOINT ["./app"]
356 changes: 356 additions & 0 deletions components/centraldashboard/Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit f86630d

Please sign in to comment.