-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into update-vitest-dependency
- Loading branch information
Showing
28 changed files
with
693 additions
and
269 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,21 @@ | ||
ARG VARIANT="20.18.1-bookworm" | ||
ARG VARIANT="20.18.2-bookworm" | ||
FROM node:${VARIANT} | ||
|
||
# Install some extras such as vim for interactive rebases. Also some | ||
# Cypress prerequisites for running in Debian containers: | ||
# https://docs.cypress.io/app/get-started/install-cypress#UbuntuDebian | ||
|
||
RUN apt-get update && \ | ||
DEBIAN_FRONTEND=noninteractive apt-get install -y \ | ||
# Cypress prerequisites for running in Debian containers: | ||
# https://docs.cypress.io/app/get-started/install-cypress#UbuntuDebian | ||
libgtk2.0-0 libgtk-3-0 libgbm-dev libnotify-dev libnss3 libxss1 \ | ||
libasound2 libxtst6 xauth xvfb \ | ||
# For interactive git rebases | ||
vim | ||
libasound2 \ | ||
libgbm-dev \ | ||
libgtk-3-0 \ | ||
libgtk2.0-0 \ | ||
libnotify-dev \ | ||
libnss3 \ | ||
libxss1 \ | ||
libxtst6 \ | ||
vim \ | ||
xauth \ | ||
xvfb \ | ||
&& apt-get clean |
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 |
---|---|---|
@@ -1,17 +1,22 @@ | ||
FROM docker.io/node:20.18.1-alpine3.21 | ||
FROM docker.io/node:20.18.2-alpine3.21 | ||
|
||
ENV NO_UPDATE_NOTIFIER=true | ||
WORKDIR /opt/app-root/src/app | ||
COPY . /opt/app-root/src | ||
|
||
# Run the npm tasks to set up the various parts of the application. Then create | ||
# the /.npm directory and grant access to group 0 to allow npm v9 to work | ||
# See: https://docs.openshift.com/container-platform/4.11/openshift_images/create-images.html#use-uid_create-images | ||
|
||
RUN npm run all:ci \ | ||
&& npm run all:build \ | ||
&& npm run frontend:purge \ | ||
&& npm run components:clean \ | ||
&& npm run components:purge | ||
&& npm run components:purge \ | ||
&& mkdir /.npm \ | ||
&& chgrp -R 0 /.npm \ | ||
&& chmod -R g=u /.npm | ||
|
||
EXPOSE 8000 | ||
# Create the /.npm directory and grant access to group 0 to allow npm v9 to work | ||
# See: https://docs.openshift.com/container-platform/4.11/openshift_images/create-images.html#use-uid_create-images | ||
RUN mkdir /.npm | ||
RUN chgrp -R 0 /.npm && \ | ||
chmod -R g=u /.npm | ||
|
||
CMD ["npm", "run", "start"] |
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
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
Oops, something went wrong.