chore: clear NPM cache of Docker image (#27000)

This commit is contained in:
Max Schmitt 2023-09-12 08:14:45 +02:00 committed by GitHub
parent 97b3625049
commit 466088215e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -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

View File

@ -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