Bug 2020041 - Dockerfile for dynamic-demo-plugin contains old path to its folder
Summary: Dockerfile for dynamic-demo-plugin contains old path to its folder
Keywords:
Status: CLOSED DUPLICATE of bug 2020001
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 4.10
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: 4.10.0
Assignee: Jakub Hadvig
QA Contact: Yadan Pei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-11-03 23:23 UTC by Jakub Hadvig
Modified: 2021-11-04 08:41 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-11-04 08:40:55 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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 ***


Note You need to log in before you can comment on or make changes to this bug.