preparations

This commit is contained in:
Szymon Dzialowski 2024-06-26 10:13:05 +01:00
parent da441347e2
commit 3698dee05c
4 changed files with 6 additions and 2 deletions

1
.tool-versions Normal file
View file

@ -0,0 +1 @@
nodejs 20.15.0

View file

@ -1,3 +1,7 @@
# build custom image
https://github.com/stopsopa/playwright-research?tab=readme-ov-file#todo
# 🎭 Playwright
[![npm version](https://img.shields.io/npm/v/playwright.svg)](https://www.npmjs.com/package/playwright) <!-- GEN:chromium-version-badge -->[![Chromium version](https://img.shields.io/badge/chromium-127.0.6533.17-blue.svg?logo=google-chrome)](https://www.chromium.org/Home)<!-- GEN:stop --> <!-- GEN:firefox-version-badge -->[![Firefox version](https://img.shields.io/badge/firefox-127.0-blue.svg?logo=firefoxbrowser)](https://www.mozilla.org/en-US/firefox/new/)<!-- GEN:stop --> <!-- GEN:webkit-version-badge -->[![WebKit version](https://img.shields.io/badge/webkit-17.4-blue.svg?logo=safari)](https://webkit.org/)<!-- GEN:stop -->

View file

@ -46,6 +46,5 @@ RUN mkdir /ms-playwright && \
npm exec --no -- playwright-core mark-docker-image "${DOCKER_IMAGE_NAME_TEMPLATE}" && \
npm exec --no -- playwright-core install --with-deps && rm -rf /var/lib/apt/lists/* && \
rm /tmp/playwright-core.tar.gz && \
rm -rf /ms-playwright-agent && \
rm -rf ~/.npm/ && \
chmod -R 777 /ms-playwright

View file

@ -17,7 +17,7 @@ if [[ ($1 == '--help') || ($1 == '-h') || ($1 == '') || ($2 == '') ]]; then
fi
function cleanup() {
rm -f "playwright-core.tar.gz"
# rm -f "playwright-core.tar.gz"
}
trap "cleanup; cd $(pwd -P)" EXIT