https://github.com/kubeflow/katib
Raw File
Tip revision: 01411727e60b8211c25f86e1dd3601f5d97254da authored by DeeperMind on 26 February 2019, 03:17:32 UTC
remove ENAS example, add data augmentation, add multiple GPU support
Tip revision: 0141172
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