Bug 2088161 - Match dockerfile image name with the name used in the release repo
Summary: Match dockerfile image name with the name used in the release repo
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 4.11
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: 4.11.0
Assignee: Joe Caiani
QA Contact: Xiyun Zhao
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-05-18 20:53 UTC by Joe Caiani
Modified: 2022-08-10 11:13 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-08-10 11:12:58 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 11524 0 None open Bug 2088161: Match dockerfile image name with the name used in the release repo for demo plugin 2022-05-18 21:03:15 UTC
Red Hat Product Errata RHSA-2022:5069 0 None None None 2022-08-10 11:13:19 UTC

Description Joe Caiani 2022-05-18 20:53:25 UTC
Description of problem:

Match dockerfile image name with the name used in the release repo
Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 3 Xiyun Zhao 2022-05-30 09:21:21 UTC
This bug has been verified on payload 4.11.0-0.nightly-2022-05-25-193227 

Verification Step:
1. Clone console repo to the local environment
2. Execute the docker build command
   sample: docker build -f Dockerfile.plugins.demo -t quay.io/<Username>/console-demo-plugin:test .
3. Verify that the demo plugin name in dockerfile is using the same name that was used in the release repo 
   console-demo-plugin   -->   console-plugin-demo 

Result:
2. No issue found in Terminal, now the demo plugin dockerfile image name is using the same name that was used in the release repo 
webpack 5.68.0 compiled successfully in 19662 ms
Done in 22.90s.
Removing intermediate container efa8f5f7bd71
 ---> e5bc7553587c
Step 8/15 : FROM node:10
 ---> 28dca6642db8
Step 9/15 : COPY --from=build /src/console/dynamic-demo-plugin/dist /opt/console-plugin-demo/static
 ---> 3a1d0cd37d83
Step 10/15 : COPY --from=build /src/console/dynamic-demo-plugin/node_modules /opt/console-plugin-demo/node_modules
 ---> 1d75cad5838a
Step 11/15 : COPY --from=build /src/console/dynamic-demo-plugin/http-server.sh /opt/console-plugin-demo/http-server.sh
 ---> 6e5ed66bcc8e
Step 12/15 : LABEL io.k8s.display-name="OpenShift Console Demo Plugin"       io.k8s.description="Sample OpenShift Console dynamic plugin used for testing purposes."       io.openshift.tags="openshift"       maintainer="Vojtech Szocs <vszocs>"
 ---> Running in 2ec0d0407cc3
Removing intermediate container 2ec0d0407cc3
 ---> 91aea5fba6f3
Step 13/15 : USER 1001
 ---> Running in 0734a2713ce1
Removing intermediate container 0734a2713ce1
 ---> d0b879c981c3
Step 14/15 : WORKDIR /opt/console-plugin-demo
 ---> Running in aed52035efd7
Removing intermediate container aed52035efd7
 ---> f62c0be8565b
Step 15/15 : ENTRYPOINT [ "./http-server.sh", "./static" ]
 ---> Running in c7f81bb577cd
Removing intermediate container c7f81bb577cd
 ---> 892c33102c3c
Successfully built 892c33102c3c
Successfully tagged quay.io/xiyuzhao/console-demo-plugin:

Comment 5 errata-xmlrpc 2022-08-10 11:12:58 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 (Important: OpenShift Container Platform 4.11.0 bug fix and security update), 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/RHSA-2022:5069


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