forked from kubeflow/kubeflow
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
check if katib is deployed and include it in CentralUI (kubeflow#1242)
- Loading branch information
1 parent
5795dc2
commit f86630d
Showing
11 changed files
with
774 additions
and
29 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,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"] |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.