generated from openshift/console-plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #69 from jkandasa/sync_gh_action_1.14.x
SRVKP-4116: [v1.14.0] sync github actions and docker changes with main branch
- Loading branch information
Showing
4 changed files
with
49 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# used to generate multiarch container image | ||
|
||
# performing "yarn install" on multiarch with "docker buildx" takes a lot of time | ||
# to avoid this, "yarn install" and "yarn build" should be executed outside of docker | ||
# and only copy the "dist" to different platform/architecture runtime containers | ||
# WARNING: with this approach, if we use platform naive package may lead to a malfunction | ||
# however in this project, the code will be executed on a browser, | ||
# hence assuming no impact on this approach | ||
|
||
FROM registry.access.redhat.com/ubi8/nginx-120:latest | ||
|
||
COPY ./dist /usr/share/nginx/html | ||
|
||
COPY ./nginx.conf /etc/nginx/nginx.conf | ||
|
||
USER 1001 | ||
|
||
ENTRYPOINT ["nginx", "-g", "daemon off;"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters