mirror of
https://github.com/vmware-tanzu/pinniped.git
synced 2026-01-06 05:27:23 +00:00
Convert pkg/client to depend only on stdlib.
Signed-off-by: Matt Moyer <moyerm@vmware.com>
This commit is contained in:
@@ -24,6 +24,8 @@ WORKDIR /work
|
||||
# Get dependencies first so they can be cached as a layer
|
||||
COPY go.mod .
|
||||
COPY go.sum .
|
||||
COPY pkg/client/go.mod ./pkg/client/go.mod
|
||||
COPY pkg/client/go.sum ./pkg/client/go.sum
|
||||
RUN go mod download
|
||||
# Copy only the production source code to avoid cache misses when editing other files
|
||||
COPY cmd ./cmd
|
||||
|
||||
Reference in New Issue
Block a user