mirror of https://github.com/linkerd/linkerd2.git
Copy over /pkg to container (#110)
Signed-off-by: Risha Mars <mars@buoyant.io>
This commit is contained in:
parent
67d4b56253
commit
80ecdc13c2
|
@ -2,6 +2,7 @@
|
|||
FROM gcr.io/runconduit/go-deps:e258aef9 as golang
|
||||
WORKDIR /go/src/github.com/runconduit/conduit
|
||||
COPY controller controller
|
||||
COPY pkg pkg
|
||||
# use `install` so that we produce multiple binaries
|
||||
RUN CGO_ENABLED=0 GOOS=linux go install -a -installsuffix cgo ./controller/cmd/...
|
||||
|
||||
|
|
|
@ -16,6 +16,7 @@ FROM gcr.io/runconduit/go-deps:e258aef9 as golang
|
|||
WORKDIR /go/src/github.com/runconduit/conduit
|
||||
COPY web web
|
||||
COPY controller controller
|
||||
COPY pkg pkg
|
||||
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o web/web ./web
|
||||
|
||||
## package it all up
|
||||
|
|
Loading…
Reference in New Issue