https://github.com/kubeflow/katib
Raw File
Tip revision: 13ccfe23fa26a3cf13a6657f4c6bb64363e9aa46 authored by hougang liu on 06 January 2019, 06:02:18 UTC
make sure trials and workers deleted when study deleted in ut test
Tip revision: 13ccfe2
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/studyjobcontroller
# Build
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o studyjobcontroller
# 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/studyjobcontroller/studyjobcontroller .
ENTRYPOINT ["./studyjobcontroller"]
back to top