Bug 1810144

Summary: add WORKDIR to builder in ironic image
Product: OpenShift Container Platform Reporter: Riccardo Pittau <rpittau>
Component: Cloud ComputeAssignee: Riccardo Pittau <rpittau>
Cloud Compute sub component: BareMetal Provider QA Contact: Amit Ugol <augol>
Status: CLOSED ERRATA Docs Contact:
Severity: urgent    
Priority: urgent CC: rbartal, stbenjam
Version: 4.4   
Target Milestone: ---   
Target Release: 4.4.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-06-16 08:38:13 UTC Type: Bug
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: 1810145, 1847317    

Description Riccardo Pittau 2020-03-04 15:39:58 UTC
As an intermittent issue we're seeing sometimes files can't be copied from the builder to the final image in the ironic multi-stage image.
To prevent that we need to add a WORKDIR parameter to the Dockerfile in the builder.