Skip to content

Commit 478f14f

Browse files
authored
Revert "fix(docker): use latest stable Chrome for Testing and Node.js LTS (#43679)" (#43918)
1 parent 7135071 commit 478f14f

2 files changed

Lines changed: 1 addition & 73 deletions

File tree

‎utils/docker/build.sh‎

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,25 +16,16 @@ if [[ ($1 == '--help') || ($1 == '-h') || ($1 == '') || ($2 == '') ]]; then
1616
exit 0
1717
fi
1818

19-
BROWSERS_JSON="../../packages/playwright-core/browsers.json"
20-
2119
function cleanup() {
2220
rm -f "playwright-core.tar.gz"
23-
if [[ -f "${BROWSERS_JSON}.bak" ]]; then
24-
mv -f "${BROWSERS_JSON}.bak" "${BROWSERS_JSON}"
25-
fi
2621
}
2722

2823
trap "cleanup; cd $(pwd -P)" EXIT
2924
cd "$(dirname "$0")"
3025

3126
# We rely on `./playwright-core.tar.gz` to download browsers into the docker
32-
# image. The package is packed with the latest Chrome for Testing on the same
33-
# branch, so that the image ships the latest security fixes.
34-
cp "${BROWSERS_JSON}" "${BROWSERS_JSON}.bak"
35-
node ./update-chromium-version.mjs "${BROWSERS_JSON}"
27+
# image.
3628
node ../../utils/pack_package.js playwright-core ./playwright-core.tar.gz
37-
mv -f "${BROWSERS_JSON}.bak" "${BROWSERS_JSON}"
3829
PLAYWRIGHT_VERSION=$(node ../../utils/workspace.js --get-version)
3930

4031
PLATFORM=""

‎utils/docker/update-chromium-version.mjs‎

Lines changed: 0 additions & 63 deletions
This file was deleted.

0 commit comments

Comments
 (0)