mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
chore: clear NPM cache of Docker image (#27000)
This commit is contained in:
parent
97b3625049
commit
466088215e
@ -40,4 +40,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 ~/.npm/ && \
|
||||||
chmod -R 777 /ms-playwright
|
chmod -R 777 /ms-playwright
|
||||||
|
@ -39,4 +39,5 @@ RUN mkdir /ms-playwright && \
|
|||||||
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 /ms-playwright-agent && \
|
||||||
|
rm -rf ~/.npm/ && \
|
||||||
chmod -R 777 /ms-playwright
|
chmod -R 777 /ms-playwright
|
||||||
|
Loading…
x
Reference in New Issue
Block a user