Bug 2020041

Summary: Dockerfile for dynamic-demo-plugin contains old path to its folder
Product: OpenShift Container Platform Reporter: Jakub Hadvig <jhadvig>
Component: Management ConsoleAssignee: Jakub Hadvig <jhadvig>
Status: CLOSED DUPLICATE QA Contact: Yadan Pei <yapei>
Severity: low Docs Contact:
Priority: unspecified    
Version: 4.10CC: aos-bugs, jokerman
Target Milestone: ---   
Target Release: 4.10.0   
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: 2021-11-04 08:40:55 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:

Description Jakub Hadvig 2021-11-03 23:23:07 UTC
Description of problem:
Dockerfile for dynamic-demo-plugin contains old/wrong path to its folder

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Inside console repository run build of Dockerfile.plugin.demo or Dockerfile.plugin.demo2
`docker build -f Dockerfile.plugins.demo2 -t jhadvig/console-demo-plugin:test .`
2.
3.

Actual results:
The build will fail cause the `console/frontend/dynamic-demo-plugin` was moved to 
`console/dynamic-demo-plugin`

Expected results:
The build will finish successfully 

Additional info:
```
docker build -f Dockerfile.plugins.demo2 -t jhadvig/console-demo-plugin:test .
Sending build context to Docker daemon    873MB
Step 1/8 : FROM node:10
 ---> 4ee0f07a0e63
Step 2/8 : COPY ./frontend/dynamic-demo-plugin/dist /opt/console-demo-plugin/static
COPY failed: stat /var/lib/docker/tmp/docker-builder259341973/frontend/dynamic-demo-plugin/dist: no such file or directory
```

Comment 1 Jakub Hadvig 2021-11-04 08:40:55 UTC

*** This bug has been marked as a duplicate of bug 2020001 ***