remove controller build stage from root Dockerfile
@@ -36,29 +36,6 @@ COPY api/ .
# Build
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags '-s -w' -o kapp-api-server main.go
-# =============== Controller ===========
-FROM golang:1.12 as controller-builder
-WORKDIR /workspace/controller
-
-# Copy dependencies
-COPY lib/ /workspace/lib
-
-# Copy the Go Modules manifests
-COPY controller/go.mod go.mod
-COPY controller/go.sum go.sum
-
-RUN go mod download
-
-# Copy the go source
-COPY controller/cmd/ cmd/
-COPY controller/api/ api/
-COPY controller/controllers/ controllers/
-COPY controller/util/ util/
-COPY controller/resources/ resources/
-
-# Build
-RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags '-s -w' -o kapp-controller ./cmd/controller
-
# ============== Finial ==============
FROM alpine
WORKDIR /workspace
@@ -69,7 +46,3 @@ ENV STATIC_FILE_ROOT build
# Collect binaries and assets
COPY --from=api-builder /workspace/api/kapp-api-server .
COPY --from=frontend-builder /workspace/build/ build/
\ No newline at end of file
-COPY --from=controller-builder /workspace/controller/kapp-controller .
-
-# this step will be removed when we migrate all resources into go-bindata
-COPY --from=controller-builder /workspace/controller/resources resources/
