Skip to content

Commit

Permalink
Bug 2088161: Match dockerfile image name with the name used in the re…
Browse files Browse the repository at this point in the history
…lease repo for demo plugin
  • Loading branch information
jcaianirh committed May 18, 2022
1 parent 0a3f275 commit 0bd6170
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile.plugins.demo
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ RUN yarn install && \
# Stage 1: build the target image
FROM node:10

COPY --from=build /src/console/dynamic-demo-plugin/dist /opt/console-demo-plugin/static
COPY --from=build /src/console/dynamic-demo-plugin/node_modules /opt/console-demo-plugin/node_modules
COPY --from=build /src/console/dynamic-demo-plugin/http-server.sh /opt/console-demo-plugin/http-server.sh
COPY --from=build /src/console/dynamic-demo-plugin/dist /opt/console-plugin-demo/static
COPY --from=build /src/console/dynamic-demo-plugin/node_modules /opt/console-plugin-demo/node_modules
COPY --from=build /src/console/dynamic-demo-plugin/http-server.sh /opt/console-plugin-demo/http-server.sh

LABEL io.k8s.display-name="OpenShift Console Demo Plugin" \
io.k8s.description="Sample OpenShift Console dynamic plugin used for testing purposes." \
Expand All @@ -29,5 +29,5 @@ LABEL io.k8s.display-name="OpenShift Console Demo Plugin" \

USER 1001

WORKDIR /opt/console-demo-plugin
WORKDIR /opt/console-plugin-demo
ENTRYPOINT [ "./http-server.sh", "./static" ]

0 comments on commit 0bd6170

Please sign in to comment.