Bug 1844596

Summary: [builds] Unable to build multi-stage image that has a --from=X that matches FROM X
Product: OpenShift Container Platform Reporter: Adam Kaplan <adam.kaplan>
Component: BuildAssignee: Adam Kaplan <adam.kaplan>
Status: CLOSED ERRATA QA Contact: wewang <wewang>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.5CC: aos-bugs, ccoleman, dwalsh, ealcaniz, erich, jokerman, mpatel, tsweeney, wjiang, wzheng
Target Milestone: ---   
Target Release: 4.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: buildah could not reference an image in `COPY --from` Dockerfile instructions Consequence: multistage Dockerfile builds with `COPY --from=<image>` instructions fail Fix: buildah updated to correctly use image references in `COPY --from` instructions Result: builds succeed
Story Points: ---
Clone Of: 1843232 Environment:
Last Closed: 2020-10-27 16:05:31 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1845345    

Comment 8 Adam Kaplan 2020-08-19 21:05:36 UTC
*** Bug 1843232 has been marked as a duplicate of this bug. ***

Comment 10 errata-xmlrpc 2020-10-27 16:05:31 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (OpenShift Container Platform 4.6 GA Images), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:4196