-
Notifications
You must be signed in to change notification settings - Fork 382
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
chore: add Node.js 16.17.0 and 18.6.0 #736
Closed
Closed
Changes from 1 commit
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 |
---|---|---|
@@ -0,0 +1,61 @@ | ||
# WARNING: this file was autogenerated by generate-base-image.js | ||
# contains all dependencies for running Cypress.io Test Runner | ||
# https://on.cypress.io/docker and https://on.cypress.io/ci | ||
# | ||
# build it with command | ||
# docker build -t cypress/base:16.17.0 . | ||
# | ||
FROM node:16.17.0-bullseye-slim | ||
|
||
RUN apt-get update && \ | ||
apt-get install --no-install-recommends -y \ | ||
libgtk2.0-0 \ | ||
libgtk-3-0 \ | ||
libnotify-dev \ | ||
libgconf-2-4 \ | ||
libgbm-dev \ | ||
libnss3 \ | ||
libxss1 \ | ||
libasound2 \ | ||
libxtst6 \ | ||
procps \ | ||
xauth \ | ||
xvfb \ | ||
# install text editors | ||
vim-tiny \ | ||
nano \ | ||
# install emoji font | ||
fonts-noto-color-emoji \ | ||
# install Chinese fonts | ||
# this list was copied from https://github.com/jim3ma/docker-leanote | ||
fonts-arphic-bkai00mp \ | ||
fonts-arphic-bsmi00lp \ | ||
fonts-arphic-gbsn00lp \ | ||
fonts-arphic-gkai00mp \ | ||
fonts-arphic-ukai \ | ||
fonts-arphic-uming \ | ||
ttf-wqy-zenhei \ | ||
ttf-wqy-microhei \ | ||
xfonts-wqy \ | ||
# clean up | ||
&& rm -rf /var/lib/apt/lists/* \ | ||
&& apt-get clean | ||
|
||
# a few environment variables to make NPM installs easier | ||
# good colors for most applications | ||
ENV TERM=xterm | ||
# avoid million NPM install messages | ||
ENV npm_config_loglevel=warn | ||
# allow installing when the main user is root | ||
ENV npm_config_unsafe_perm=true | ||
|
||
RUN npm --version \ | ||
&& npm install -g yarn@latest --force \ | ||
&& yarn --version \ | ||
&& node -p process.versions \ | ||
&& node -p 'module.paths' \ | ||
&& echo " node version: $(node -v) \n" \ | ||
"npm version: $(npm -v) \n" \ | ||
"yarn version: $(yarn -v) \n" \ | ||
"debian version: $(cat /etc/debian_version) \n" \ | ||
"user: $(whoami) \n" |
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 @@ | ||
<!-- WARNING: this file was autogenerated by generate-base-image.js --> | ||
# cypress/base:16.17.0 | ||
|
||
A Docker image with all dependencies pre-installed. | ||
Just add your NPM packages (including Cypress) and run the tests. | ||
See [Cypress Docker docs](https://on.cypress.io/docker) and | ||
[Cypress CI guide](https://on.cypress.io/ci). | ||
|
||
## Example | ||
|
||
Sample Dockerfile | ||
|
||
``` | ||
FROM cypress/base:16.17.0 | ||
RUN npm install --save-dev cypress | ||
RUN $(npm bin)/cypress verify | ||
RUN $(npm bin)/cypress run | ||
``` |
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,8 @@ | ||
# WARNING: this file was autogenerated by generate-base-image.js | ||
set e+x | ||
|
||
# build image with Cypress dependencies | ||
LOCAL_NAME=cypress/base:16.17.0 | ||
|
||
echo "Building $LOCAL_NAME" | ||
docker build -t $LOCAL_NAME . |
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,61 @@ | ||
# WARNING: this file was autogenerated by generate-base-image.js | ||
# contains all dependencies for running Cypress.io Test Runner | ||
# https://on.cypress.io/docker and https://on.cypress.io/ci | ||
# | ||
# build it with command | ||
# docker build -t cypress/base:18.6.0 . | ||
# | ||
FROM node:18.6.0-bullseye-slim | ||
|
||
RUN apt-get update && \ | ||
apt-get install --no-install-recommends -y \ | ||
libgtk2.0-0 \ | ||
libgtk-3-0 \ | ||
libnotify-dev \ | ||
libgconf-2-4 \ | ||
libgbm-dev \ | ||
libnss3 \ | ||
libxss1 \ | ||
libasound2 \ | ||
libxtst6 \ | ||
procps \ | ||
xauth \ | ||
xvfb \ | ||
# install text editors | ||
vim-tiny \ | ||
nano \ | ||
# install emoji font | ||
fonts-noto-color-emoji \ | ||
# install Chinese fonts | ||
# this list was copied from https://github.com/jim3ma/docker-leanote | ||
fonts-arphic-bkai00mp \ | ||
fonts-arphic-bsmi00lp \ | ||
fonts-arphic-gbsn00lp \ | ||
fonts-arphic-gkai00mp \ | ||
fonts-arphic-ukai \ | ||
fonts-arphic-uming \ | ||
ttf-wqy-zenhei \ | ||
ttf-wqy-microhei \ | ||
xfonts-wqy \ | ||
# clean up | ||
&& rm -rf /var/lib/apt/lists/* \ | ||
&& apt-get clean | ||
|
||
# a few environment variables to make NPM installs easier | ||
# good colors for most applications | ||
ENV TERM=xterm | ||
# avoid million NPM install messages | ||
ENV npm_config_loglevel=warn | ||
# allow installing when the main user is root | ||
ENV npm_config_unsafe_perm=true | ||
|
||
RUN npm --version \ | ||
&& npm install -g yarn@latest --force \ | ||
&& yarn --version \ | ||
&& node -p process.versions \ | ||
&& node -p 'module.paths' \ | ||
&& echo " node version: $(node -v) \n" \ | ||
"npm version: $(npm -v) \n" \ | ||
"yarn version: $(yarn -v) \n" \ | ||
"debian version: $(cat /etc/debian_version) \n" \ | ||
"user: $(whoami) \n" |
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 @@ | ||
<!-- WARNING: this file was autogenerated by generate-base-image.js --> | ||
# cypress/base:18.6.0 | ||
|
||
A Docker image with all dependencies pre-installed. | ||
Just add your NPM packages (including Cypress) and run the tests. | ||
See [Cypress Docker docs](https://on.cypress.io/docker) and | ||
[Cypress CI guide](https://on.cypress.io/ci). | ||
|
||
## Example | ||
|
||
Sample Dockerfile | ||
|
||
``` | ||
FROM cypress/base:18.6.0 | ||
RUN npm install --save-dev cypress | ||
RUN $(npm bin)/cypress verify | ||
RUN $(npm bin)/cypress run | ||
``` |
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,8 @@ | ||
# WARNING: this file was autogenerated by generate-base-image.js | ||
set e+x | ||
|
||
# build image with Cypress dependencies | ||
LOCAL_NAME=cypress/base:18.6.0 | ||
|
||
echo "Building $LOCAL_NAME" | ||
docker build -t $LOCAL_NAME . |
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Was this meant to change? I just followed the instructions in https://github.com/cypress-io/cypress-docker-images/blob/master/CONTRIBUTING.md
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.
Yeah this changes depending on what the last generated image is.