https://github.com/kubeflow/katib
Raw File
Tip revision: 9ad43b11ffa92b54b2b90e011f1bd6e55901e63d authored by Johnu George on 17 February 2019, 08:00:41 UTC
Removing Operator specific handling during a StudyJob run
Tip revision: 9ad43b1
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