You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when copying file from previous stage
via COPY --from=previous_stage
build doesn't fail on COPY command when source file doesn't exist
--> COPY --from=stage1 /opt/non-existent /file_from_stage1
--> RUN cat /file_from_stage1
cat: /file_from_stage1: No such file or directory
running 'cat /file_from_stage1' failed with exit code 1
The text was updated successfully, but these errors were encountered:
trozet
added a commit
to trozet/ovn-kubernetes-1
that referenced
this issue
Jan 8, 2020
Trailing slash was missing for destination for the COPY. There is an
issue with OpenShift image buildiner, silently ignoring a failed COPY:
openshift/imagebuilder#137
Patch ensures that oc actually exists after the COPY operation.
Signed-off-by: Tim Rozet <trozet@redhat.com>
Mark the issue as fresh by commenting /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting /lifecycle frozen.
If this issue is safe to close now please do so with /close.
when copying file from previous stage
via COPY --from=previous_stage
build doesn't fail on COPY command when source file doesn't exist
--> COPY --from=stage1 /opt/non-existent /file_from_stage1
--> RUN cat /file_from_stage1
cat: /file_from_stage1: No such file or directory
running 'cat /file_from_stage1' failed with exit code 1
The text was updated successfully, but these errors were encountered: