File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,10 @@ COPY $service_alias-controller/ATTRIBUTION.md $work_dir/ATTRIBUTION.md
32
32
# Copy the go.mod and go.sum files for the service controller
33
33
COPY $service_alias-controller/go.mod $work_dir/go.mod
34
34
COPY $service_alias-controller/go.sum $work_dir/go.sum
35
+ # Copy the controller code
36
+ COPY $service_alias-controller/apis $work_dir/apis
37
+ COPY $service_alias-controller/cmd $work_dir/cmd
38
+ COPY $service_alias-controller/pkg $work_dir/pkg
35
39
36
40
# Copy local runtime code to the container
37
41
COPY runtime/pkg $work_dir/../runtime/pkg
@@ -52,10 +56,6 @@ RUN go mod download
52
56
WORKDIR $work_dir
53
57
RUN go mod download
54
58
55
- # Now copy the go source code for the service controller...
56
- COPY $service_alias-controller/apis $work_dir/apis
57
- COPY $service_alias-controller/cmd $work_dir/cmd
58
- COPY $service_alias-controller/pkg $work_dir/pkg
59
59
# Build
60
60
RUN GIT_VERSION=$service_controller_git_version && \
61
61
GIT_COMMIT=$service_controller_git_commit && \
You can’t perform that action at this time.
0 commit comments