Skip to content

Use explicit copy --from for multistage build

Lucas Charles requested to merge use-copy-from-for-multistage-build into master

What does this MR do?

We previously used COPY analyze / instruction to copy from the host directory, relying on the go build CI stage. This does not rely on the previous stage's binary when it should so we should copy explicitly.

What are the relevant issue numbers?

gitlab-org/gitlab#9736 (closed)

Does this MR meet the acceptance criteria?

Edited by Lucas Charles

Merge request reports