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

[pull] master from cypress-io:master #62

Merged
merged 3 commits into from
Aug 9, 2023
Merged
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
6 changes: 3 additions & 3 deletions factory/.env
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,19 @@
BASE_IMAGE='debian:bullseye-slim'

# Node Versions: https://nodejs.org/en/download/releases/
FACTORY_DEFAULT_NODE_VERSION='18.16.0'
FACTORY_DEFAULT_NODE_VERSION='20.5.0'

# Node Versions: https://nodejs.org/en/download/releases/
NODE_VERSION="${FACTORY_DEFAULT_NODE_VERSION}"

# Update this to deploy the docker factory if you make changes to factory.Dockerfile or install scripts
FACTORY_VERSION='2.3.0'
FACTORY_VERSION='3.0.0'

# Chrome versions: https://www.ubuntuupdates.org/package/google_chrome/stable/main/base/google-chrome-stable
CHROME_VERSION='114.0.5735.133-1'

# Cypress versions: https://www.npmjs.com/package/cypress
CYPRESS_VERSION='12.17.2'
CYPRESS_VERSION='12.17.3'

# Edge versions: https://packages.microsoft.com/repos/edge/pool/main/m/microsoft-edge-stable/
EDGE_VERSION='114.0.1823.51-1'
Expand Down
10 changes: 10 additions & 0 deletions factory/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Change log

## 3.0.0

* Updated default node version from `18.16.1` to `20.5.0`. Addressed in [#920](https://github.com/cypress-io/cypress-docker-images/pull/920)

* Added `openssl` and `ca-certificates` to factory. Addressed in [#920](https://github.com/cypress-io/cypress-docker-images/pull/920)


## 2.4.0

* Updated default node version from `18.16.0` to `18.16.1`. Addressed in [#906](https://github.com/cypress-io/cypress-docker-images/pull/906)
## 2.3.0

* Updated default node version from `18.15.0` to `18.16.0`. Addressed in [#881](https://github.com/cypress-io/cypress-docker-images/pull/881)
Expand Down
3 changes: 3 additions & 0 deletions factory/factory.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ RUN ls -la /root \
openssh-client\
# Chrome and Edge require wget even after installation. We could do more work to dynamically remove it, but I doubt it's worth it.
wget \
# Needed to make https calls from the docker container
openssl \
ca-certificates \
# build only dependancies: removed in onbuild step
bzip2 \
gnupg \
Expand Down
5 changes: 1 addition & 4 deletions factory/installScripts/edge/default.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
#! /bin/bash

# Microsoft offers a debian package, here we're adding the package list and then installing the specific version we want to install.
apt-get update \
&& apt-get install --no-install-recommends -y \
ca-certificates \
&& curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg \
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg \
&& install -o root -g root -m 644 microsoft.gpg /etc/apt/trusted.gpg.d \
&& sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/edge stable main" > /etc/apt/sources.list.d/microsoft-edge-stable.list' \
&& rm microsoft.gpg \
Expand Down
2 changes: 1 addition & 1 deletion factory/installScripts/node/default.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ ARCH= && dpkgArch="$(dpkg --print-architecture)" \
esac \
&& set -ex \
&& savedAptMark="$(apt-mark showmanual)" \
&& apt-get update && apt-get install -y ca-certificates curl wget gnupg dirmngr xz-utils libatomic1 --no-install-recommends \
&& apt-get update && apt-get install -y curl wget gnupg dirmngr xz-utils libatomic1 --no-install-recommends \
&& rm -rf /var/lib/apt/lists/* \
&& for key in \
4ED778F539E3634C779C87C6D7062848A1AB005C \
Expand Down