https://github.com/kubeflow/katib
Raw File
Tip revision: fbf37fea539df407e43b1d1dc7a67791ca1cf30f authored by DeeperMind on 05 March 2019, 22:21:01 UTC
fix the version of tf and keras
Tip revision: fbf37fe
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