https://github.com/kubeflow/katib
Raw File
Tip revision: 6d905221619760fcb3aafea85b21443614d79168 authored by wukong1992 on 09 October 2018, 09:09:05 UTC
make job name contain the name of studyjob
Tip revision: 6d90522
Dockerfile
# Build the manager binary
FROM golang:alpine AS build-env

# Copy in the go src
ADD . /go/src/github.com/kubeflow/katib

WORKDIR /go/src/github.com/kubeflow/katib/cmd/metricscollector
# Build
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o metricscollector
# Copy the controller-manager into a thin image
FROM alpine:3.7
WORKDIR /app
COPY --from=build-env /go/src/github.com/kubeflow/katib/cmd/metricscollector/metricscollector .
back to top