preparations
This commit is contained in:
parent
da441347e2
commit
3698dee05c
1
.tool-versions
Normal file
1
.tool-versions
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
nodejs 20.15.0
|
||||||
|
|
@ -1,3 +1,7 @@
|
||||||
|
# build custom image
|
||||||
|
|
||||||
|
https://github.com/stopsopa/playwright-research?tab=readme-ov-file#todo
|
||||||
|
|
||||||
# 🎭 Playwright
|
# 🎭 Playwright
|
||||||
|
|
||||||
[](https://www.npmjs.com/package/playwright) <!-- GEN:chromium-version-badge -->[](https://www.chromium.org/Home)<!-- GEN:stop --> <!-- GEN:firefox-version-badge -->[](https://www.mozilla.org/en-US/firefox/new/)<!-- GEN:stop --> <!-- GEN:webkit-version-badge -->[](https://webkit.org/)<!-- GEN:stop -->
|
[](https://www.npmjs.com/package/playwright) <!-- GEN:chromium-version-badge -->[](https://www.chromium.org/Home)<!-- GEN:stop --> <!-- GEN:firefox-version-badge -->[](https://www.mozilla.org/en-US/firefox/new/)<!-- GEN:stop --> <!-- GEN:webkit-version-badge -->[](https://webkit.org/)<!-- GEN:stop -->
|
||||||
|
|
|
||||||
|
|
@ -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 mark-docker-image "${DOCKER_IMAGE_NAME_TEMPLATE}" && \
|
||||||
npm exec --no -- playwright-core install --with-deps && rm -rf /var/lib/apt/lists/* && \
|
npm exec --no -- playwright-core install --with-deps && rm -rf /var/lib/apt/lists/* && \
|
||||||
rm /tmp/playwright-core.tar.gz && \
|
rm /tmp/playwright-core.tar.gz && \
|
||||||
rm -rf /ms-playwright-agent && \
|
|
||||||
rm -rf ~/.npm/ && \
|
rm -rf ~/.npm/ && \
|
||||||
chmod -R 777 /ms-playwright
|
chmod -R 777 /ms-playwright
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ if [[ ($1 == '--help') || ($1 == '-h') || ($1 == '') || ($2 == '') ]]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
function cleanup() {
|
function cleanup() {
|
||||||
rm -f "playwright-core.tar.gz"
|
# rm -f "playwright-core.tar.gz"
|
||||||
}
|
}
|
||||||
|
|
||||||
trap "cleanup; cd $(pwd -P)" EXIT
|
trap "cleanup; cd $(pwd -P)" EXIT
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue