Skip to content
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

feat(base): generate new image with version 18.6.0 #715

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
61 changes: 61 additions & 0 deletions base/18.6.0/Dockerfile
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"
18 changes: 18 additions & 0 deletions base/18.6.0/README.md
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
```
8 changes: 8 additions & 0 deletions base/18.6.0/build.sh
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 .
31 changes: 16 additions & 15 deletions base/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,10 @@
| cypress/base:14.16.0 | 14.16.0 | Debian 10.8 | [/14.16.0](14.16.0) | 7.6.0 | 1.22.10 | [1](#note1) |
| cypress/base:14.17.0 | 14.17.0 | Debian 10.9 | [/14.17.0](14.17.0) | 6.14.13 | 1.22.10 | [1](#note1) |
| cypress/base:14.17.3 | 14.17.3 | Debian 10.10 | [/14.17.3](14.17.3) | 6.14.13 | 1.22.10 | [1](#note1) |
| cypress/base:14.17.6 | 14.17.6 | Debian | [/14.17.6](14.17.6) | 🚫 | 🚫 | 🚫 |
| cypress/base:14.17.6-slim | 14.17.6 | Debian | [/14.17.6](14.17.6) | 🚫 | 🚫 | 🚫 |
| cypress/base:14.18.1 | 14.18.1 | Debian 10.10 | [/14.18.1](14.18.1) | 6.14.15 | 1.22.15 | [1](#note1) |
| cypress/base:14.19.0 | 14.19.0 | Debian | [/14.19.0](14.19.0) | 6.14.16 | 1.22.17 |
| cypress/base:16.0.0 | 16.0.0 | Debian 10.9 | [/16.0.0](16.0.0) | 7.10.0 | 1.22.10 | [1](#note1) |
| cypress/base:16.1.0 | 16.1.0 | Debian 10.9 | [/16.1.0](16.1.0) | 7.10.0 | 1.22.10 | [1](#note1) |
| cypress/base:16.2.0 | 16.2.0 | Debian 10.9 | [/16.2.0](16.2.0) | 7.10.0 | 1.22.10 | [1](#note1) |
Expand All @@ -59,22 +62,20 @@
| cypress/base:16.5.0 | 16.5.0 | Debian 10.9 | [/16.5.0](16.5.0) | 7.10.0 | 1.22.10 | [1](#note1) |
| cypress/base:16.13.0 | 16.13.0 | Debian 10.9 | [/16.13.0](16.13.0) | 7.10.0 | 1.22.10 | [1](#note1) |
| cypress/base:16.14.0 | 16.14.0 | Debian 10.11 | [/16.14.0](16.14.0) | 8.3.1 | 1.22.17 | [1](#note1) |
| cypress/base:16.14.0-slim | 16.14.0 | Debian | [/16.14.0](16.14.0) | 🚫 | 🚫 | 🚫 |
| cypress/base:16.14.2 | 16.14.2 | Debian | [/16.14.2](16.14.2) | 🚫 | 🚫 | 🚫 |
| cypress/base:16.14.2-slim | 16.14.2 | Debian | [/16.14.2](16.14.2) | 🚫 | 🚫 | 🚫 |
| cypress/base:17.3.0 | 17.3.0 | Debian 10.9 | [/17.3.0](17.3.0) | 8.3.0 | 1.22.17 | [1](#note1) |
| cypress/base:centos7 | 6 | CentOS | [/centos7](centos7) | 3.10.10 | 🚫 |
| cypress/base:centos7-12.4.0 | 12.4.0 | CentOS | [/centos7](centos7) | 6.9.0 | 1.16.0 |
| cypress/base:ubuntu16 | 6 | Ubuntu | [/ubuntu16](ubuntu16) | 3.10.10 | 🚫 |
| cypress/base:ubuntu16-8 | 8.16.2 | Ubuntu | [/ubuntu16-8](ubuntu16-8) | 6.4.1 | 🚫 |
| cypress/base:ubuntu16-12.13.1 | 12.13.1 | Ubuntu | [/ubuntu16-12.13.1](ubuntu16-12.13.1) | 6.12.1 | 🚫 |
| cypress/base:ubuntu18-node12.14.1 | 12.14.1 | Ubuntu 18.04.3 | [ubuntu18-node12.14.1](ubuntu18-node12.14.1) | 6.13.6 | 1.21.1 |
| cypress/base:ubuntu19-node12.14.1 | 12.14.1 | Ubuntu 19.0.4 | [ubuntu19-node12.14.1](ubuntu19-node12.14.1) | 6.13.6 | 1.21.1 |
| cypress/base:manjaro-node14.12.0 | 14.12.0 | Manjaro | [manjaro-14.12.0](manjaro-14.12.0) | 6.14.8 | 1.22.10 |
| cypress/base:14.19.0 | 14.19.0 | Debian | [/14.19.0](14.19.0) | 6.14.16 | 1.22.17 |
| cypress/base:16.14.0-slim | 16.14.0 | Debian | [/16.14.0](16.14.0) | `🚫` | `🚫` | `🚫` |
| cypress/base:17.8.0 | 17.8.0 | Debian | [/17.8.0](17.8.0) | `🚫` | `🚫` | `🚫` |
| cypress/base:14.17.6 | 14.17.6 | Debian | [/14.17.6](14.17.6) | `🚫` | `🚫` | `🚫` |
| cypress/base:16.14.2 | 16.14.2 | Debian | [/16.14.2](16.14.2) | `🚫` | `🚫` | `🚫` |
| cypress/base:16.14.2-slim | 16.14.2 | Debian | [/16.14.2](16.14.2) | `🚫` | `🚫` | `🚫` |
| cypress/base:14.17.6-slim | 14.17.6 | Debian | [/14.17.6](14.17.6) | `🚫` | `🚫` | `🚫` |
| cypress/base:17.8.0 | 17.8.0 | Debian | [/17.8.0](17.8.0) | 🚫 | 🚫 | 🚫 |
| cypress/base:18.6.0 | 18.6.0 | Debian 11 | [/18.6.0](18.6.0) | 8.13.2 | 1.22.19 | [1](#note1) |
| cypress/base:centos7 | 6 | CentOS | [/centos7](centos7) | 3.10.10 | 🚫 | 🚫 |
| cypress/base:centos7-12.4.0 | 12.4.0 | CentOS | [/centos7](centos7) | 6.9.0 | 1.16.0 | 🚫 |
| cypress/base:manjaro-node14.12.0 | 14.12.0 | Manjaro | [manjaro-14.12.0](manjaro-14.12.0) | 6.14.8 | 1.22.10 | 🚫 |
| cypress/base:ubuntu16 | 6 | Ubuntu | [/ubuntu16](ubuntu16) | 3.10.10 | 🚫 | 🚫 |
| cypress/base:ubuntu16-8 | 8.16.2 | Ubuntu | [/ubuntu16-8](ubuntu16-8) | 6.4.1 | 🚫 | 🚫 |
| cypress/base:ubuntu16-12.13.1 | 12.13.1 | Ubuntu | [/ubuntu16-12.13.1](ubuntu16-12.13.1) | 6.12.1 | 🚫 | 🚫 |
| cypress/base:ubuntu18-node12.14.1 | 12.14.1 | Ubuntu 18.04.3 | [ubuntu18-node12.14.1](ubuntu18-node12.14.1) | 6.13.6 | 1.21.1 | 🚫 |
| cypress/base:ubuntu19-node12.14.1 | 12.14.1 | Ubuntu 19.0.4 | [ubuntu19-node12.14.1](ubuntu19-node12.14.1) | 6.13.6 | 1.21.1 | 🚫 |

## Notes

Expand Down
35 changes: 21 additions & 14 deletions base/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Image `cypress/base:12` is tagged [`latest`](https://hub.docker.com/r/cypress/ba

> **Note** All Base Images install the latest versions of NPM & Yarn.

| Name + Tag | Node | Operating System | Link | NPM version | Yarn version | Notes |
| Name + Tag | Node | Operating System | Link | NPM version | Yarn version | Notes |
| --------------------------------- | ------- | ---------------- | -------------------------------------------- | ----------- | ------------ | ----------- |
| cypress/base:6 | 6 | Debian | [/6](6) | 3.10.10 | 1.6.0 |
| cypress/base:8 | 8 | Debian | [/8](8) | 6.4.1 | 1.9.4 |
Expand Down Expand Up @@ -62,7 +62,10 @@ Image `cypress/base:12` is tagged [`latest`](https://hub.docker.com/r/cypress/ba
| cypress/base:14.16.0 | 14.16.0 | Debian 10.8 | [/14.16.0](14.16.0) | 7.6.0 | 1.22.10 | [1](#note1) |
| cypress/base:14.17.0 | 14.17.0 | Debian 10.9 | [/14.17.0](14.17.0) | 6.14.13 | 1.22.10 | [1](#note1) |
| cypress/base:14.17.3 | 14.17.3 | Debian 10.10 | [/14.17.3](14.17.3) | 6.14.13 | 1.22.10 | [1](#note1) |
| cypress/base:14.17.6 | 14.17.6 | Debian | [/14.17.6](14.17.6) | 🚫 | 🚫 | 🚫 |
| cypress/base:14.17.6-slim | 14.17.6 | Debian | [/14.17.6](14.17.6) | 🚫 | 🚫 | 🚫 |
| cypress/base:14.18.1 | 14.18.1 | Debian 10.10 | [/14.18.1](14.18.1) | 6.14.15 | 1.22.15 | [1](#note1) |
| cypress/base:14.19.0 | 14.19.0 | Debian | [/14.19.0](14.19.0) | 6.14.16 | 1.22.17 |
| cypress/base:16.0.0 | 16.0.0 | Debian 10.9 | [/16.0.0](16.0.0) | 7.10.0 | 1.22.10 | [1](#note1) |
| cypress/base:16.1.0 | 16.1.0 | Debian 10.9 | [/16.1.0](16.1.0) | 7.10.0 | 1.22.10 | [1](#note1) |
| cypress/base:16.2.0 | 16.2.0 | Debian 10.9 | [/16.2.0](16.2.0) | 7.10.0 | 1.22.10 | [1](#note1) |
Expand All @@ -71,23 +74,27 @@ Image `cypress/base:12` is tagged [`latest`](https://hub.docker.com/r/cypress/ba
| cypress/base:16.5.0 | 16.5.0 | Debian 10.9 | [/16.5.0](16.5.0) | 7.10.0 | 1.22.10 | [1](#note1) |
| cypress/base:16.13.0 | 16.13.0 | Debian 10.9 | [/16.13.0](16.13.0) | 7.10.0 | 1.22.10 | [1](#note1) |
| cypress/base:16.14.0 | 16.14.0 | Debian 10.11 | [/16.14.0](16.14.0) | 8.3.1 | 1.22.17 | [1](#note1) |
| cypress/base:16.14.0-slim | 16.14.0 | Debian | [/16.14.0](16.14.0) | 🚫 | 🚫 | 🚫 |
| cypress/base:16.14.2 | 16.14.2 | Debian | [/16.14.2](16.14.2) | 🚫 | 🚫 | 🚫 |
| cypress/base:16.14.2-slim | 16.14.2 | Debian | [/16.14.2](16.14.2) | 🚫 | 🚫 | 🚫 |
| cypress/base:17.3.0 | 17.3.0 | Debian 10.9 | [/17.3.0](17.3.0) | 8.3.0 | 1.22.17 | [1](#note1) |
| cypress/base:centos7 | 6 | CentOS | [/centos7](centos7) | 3.10.10 | 🚫 |
| cypress/base:17.8.0 | 17.8.0 | Debian | [/17.8.0](17.8.0) | 🚫 | 🚫 | 🚫 |
| cypress/base:18.6.0 | 18.6.0 | Debian 11 | [/18.6.0](18.6.0) | 8.13.2 | 1.22.19 | [1](#note1) |
| cypress/base:centos7 | 6 | CentOS | [/centos7](centos7) | 3.10.10 | 🚫 |
| cypress/base:centos7-12.4.0 | 12.4.0 | CentOS | [/centos7](centos7) | 6.9.0 | 1.16.0 |
| cypress/base:ubuntu16 | 6 | Ubuntu | [/ubuntu16](ubuntu16) | 3.10.10 | 🚫 |
| cypress/base:ubuntu16-8 | 8.16.2 | Ubuntu | [/ubuntu16-8](ubuntu16-8) | 6.4.1 | 🚫 |
| cypress/base:ubuntu16-12.13.1 | 12.13.1 | Ubuntu | [/ubuntu16-12.13.1](ubuntu16-12.13.1) | 6.12.1 | 🚫 |
| cypress/base:ubuntu16 | 6 | Ubuntu | [/ubuntu16](ubuntu16) | 3.10.10 | 🚫 |
| cypress/base:ubuntu16-8 | 8.16.2 | Ubuntu | [/ubuntu16-8](ubuntu16-8) | 6.4.1 | 🚫 |
| cypress/base:ubuntu16-12.13.1 | 12.13.1 | Ubuntu | [/ubuntu16-12.13.1](ubuntu16-12.13.1) | 6.12.1 | 🚫 |
| cypress/base:ubuntu18-node12.14.1 | 12.14.1 | Ubuntu 18.04.3 | [ubuntu18-node12.14.1](ubuntu18-node12.14.1) | 6.13.6 | 1.21.1 |
| cypress/base:ubuntu19-node12.14.1 | 12.14.1 | Ubuntu 19.0.4 | [ubuntu19-node12.14.1](ubuntu19-node12.14.1) | 6.13.6 | 1.21.1 |
| cypress/base:manjaro-node14.12.0 | 14.12.0 | Manjaro | [manjaro-14.12.0](manjaro-14.12.0) | 6.14.8 | 1.22.10 |
| cypress/base:14.19.0 | 14.19.0 | Debian | [/14.19.0](14.19.0) | 6.14.16 | 1.22.17 |
| cypress/base:16.14.0-slim | 16.14.0 | Debian | [/16.14.0](16.14.0) | `🚫` | `🚫` | `🚫` |
| cypress/base:17.8.0 | 17.8.0 | Debian | [/17.8.0](17.8.0) | `🚫` | `🚫` | `🚫` |
| cypress/base:14.17.6 | 14.17.6 | Debian | [/14.17.6](14.17.6) | `🚫` | `🚫` | `🚫` |
| cypress/base:16.14.2 | 16.14.2 | Debian | [/16.14.2](16.14.2) | `🚫` | `🚫` | `🚫` |
| cypress/base:16.14.2-slim | 16.14.2 | Debian | [/16.14.2](16.14.2) | `🚫` | `🚫` | `🚫` |
| cypress/base:14.17.6-slim | 14.17.6 | Debian | [/14.17.6](14.17.6) | `🚫` | `🚫` | `🚫` |

| cypress/base:manjaro-node14.12.0 | 14.12.0 | Manjaro | [manjaro-14.12.0](manjaro-14.12.0) | 6.14.8 | 1.22.10 |

## Notes

<div id="note1">

**1:** this image includes fonts with Chinese characters

## ⚠️ Node.js Support

Cypress 4.0+ no longer supports Node.js versions below 8.0.0. See our [Migration Guide](https://on.cypress.io/migration-guide#Node-js-8-support).
Expand Down
26 changes: 13 additions & 13 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -436,24 +436,24 @@ workflows:
jobs:
- lint-markdown
- test
build-included-images:
build-base-images:
jobs:
- build-included-image:
name: "build+test included 10.6.0 arm64"
dockerTag: "10.6.0"
- build-base-image:
name: "build+test base 18.6.0 arm64"
dockerTag: "18.6.0"
resourceClass: arm.large
platformArg: linux/arm64
- build-included-image:
name: "build+test included 10.6.0 x64"
dockerTag: "10.6.0"
- build-base-image:
name: "build+test base 18.6.0 x64"
dockerTag: "18.6.0"
resourceClass: large
platformArg: linux/amd64
- push-images:
name: "push included 10.6.0 images"
dockerName: 'cypress/included'
dockerTag: '10.6.0'
workingDirectory: '~/project/included/10.6.0'
name: "push base 18.6.0 images"
dockerName: 'cypress/base'
dockerTag: '18.6.0'
workingDirectory: '~/project/base/18.6.0'
context: test-runner:docker-push
requires:
- "build+test included 10.6.0 arm64"
- "build+test included 10.6.0 x64"
- "build+test base 18.6.0 arm64"
- "build+test base 18.6.0 x64"