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.4.0 #685

Closed
wants to merge 1 commit into from
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.4.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.4.0 .
#
FROM node:18.4.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.4.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.4.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.4.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.4.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.4.0

echo "Building $LOCAL_NAME"
docker build -t $LOCAL_NAME .
1 change: 1 addition & 0 deletions base/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,4 @@
| 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:18.4.0 | 18.4.0 | Debian | [/18.4.0](18.4.0) | `🚫` | `🚫` | `🚫` |
3 changes: 2 additions & 1 deletion base/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@ Image `cypress/base:12` is tagged [`latest`](https://hub.docker.com/r/cypress/ba
| 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:14.17.6-slim | 14.17.6 | Debian | [/14.17.6](14.17.6) | `🚫` | `🚫` | `🚫` |
| cypress/base:18.4.0 | 18.4.0 | Debian | [/18.4.0](18.4.0) | `🚫` | `🚫` | `🚫` |

## ⚠️ Node.js Support

Expand Down
8 changes: 4 additions & 4 deletions buildspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@ env:
batch:
fast-fail: false
build-list:
- identifier: included1020
- identifier: base1840
env:
image: aws/codebuild/standard:5.0
type: LINUX_CONTAINER
privileged-mode: true
compute-type: BUILD_GENERAL1_MEDIUM
variables:
IMAGE_REPO_NAME: "cypress/included"
IMAGE_DIR: "included"
IMAGE_TAG: "10.2.0"
IMAGE_REPO_NAME: "cypress/base"
IMAGE_DIR: "base"
IMAGE_TAG: "18.4.0"

phases:
pre_build:
Expand Down
8 changes: 4 additions & 4 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -435,8 +435,8 @@ workflows:
lint:
jobs:
- lint-markdown
build-included-images:
build-base-images:
jobs:
- build-included-image:
name: "included 10.2.0"
dockerTag: "10.2.0"
- build-base-image:
name: "base 18.4.0"
dockerTag: "18.4.0"