-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2311-keycloak-impersonate #2402
Conversation
@@ -1,17 +1,20 @@ | |||
ARG NODE_VERSION='20.9.0' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like this env variable is no longer used. Could this be integrated into line 5 to drive the node version of the Cypress image?
@@ -1,17 +1,20 @@ | |||
ARG NODE_VERSION='20.9.0' | |||
ARG CYPRESS_VERSION='13.3.1' | |||
ARG CYPRESS_VERSION='13.5.0' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like this env variable is no longer used. Could this be integrated into line 15 to drive the version of the Cypress image?
|
||
# Set working directory | ||
WORKDIR /hmda-frontend | ||
|
||
USER root | ||
RUN apt-get update && apt-get install -y curl nodejs npm microsoft-edge-stable |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is nodejs
needed here if Node is already included in the cypress/browsers
image?
#RUN apt-get install -y curl | ||
|
||
COPY cypress/package.json ./ | ||
RUN npm install [email protected] --save-dev |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see cypress
already included in the cypress/package.json
file. Could this install (Line 15) instead be managed by updating that Cypress version via the package file? Then Line 15 becomes npm install
.
|
||
# Set working directory | ||
WORKDIR /hmda-frontend | ||
|
||
USER root | ||
RUN apt-get update && apt-get install -y curl nodejs npm microsoft-edge-stable | ||
#RUN apt-get install -y curl |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#RUN apt-get install -y curl |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Closes #2311