File tree 1 file changed +5
-2
lines changed
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ COPY $service_alias-controller/pkg $work_dir/pkg
40
40
# Copy local runtime code to the container
41
41
COPY runtime/pkg $work_dir/../runtime/pkg
42
42
COPY runtime/apis $work_dir/../runtime/apis
43
+ COPY runtime/mocks $work_dir/../runtime/mocks
43
44
COPY runtime/go.mod $work_dir/../runtime/go.mod
44
45
COPY runtime/go.sum $work_dir/../runtime/go.sum
45
46
@@ -52,9 +53,11 @@ RUN echo "replace github.com/aws-controllers-k8s/runtime => ../runtime" >> $work
52
53
# cache deps before building and copying source so that we don't need to re-download as much
53
54
# and so that source changes don't invalidate our downloaded layer
54
55
WORKDIR $work_dir/../runtime
55
- RUN go mod download
56
+ RUN go mod tidy
57
+ RUN go mod download
56
58
WORKDIR $work_dir
57
- RUN go mod download
59
+ RUN go mod tidy
60
+ RUN go mod download
58
61
59
62
# Build
60
63
RUN GIT_VERSION=$service_controller_git_version && \
You can’t perform that action at this time.
0 commit comments