https://github.com/kubeflow/katib
Raw File
Tip revision: 7c15d64aec7cd17f6d831e2d4200d12a7781ba39 authored by andreyvelich on 17 January 2019, 01:49:59 UTC
Change StudyID to 1
Tip revision: 7c15d64
Dockerfile
FROM golang:alpine AS build-env
# The GOPATH in the image is /go.
ADD . /go/src/github.com/kubeflow/katib
WORKDIR /go/src/github.com/kubeflow/katib/cmd/manager-rest
RUN go build -o vizier-manager-rest

FROM alpine:3.7
WORKDIR /app
COPY --from=build-env /go/src/github.com/kubeflow/katib/cmd/manager-rest/vizier-manager-rest /app/
ENTRYPOINT ["./vizier-manager-rest"]
back to top