1
0
mirror of https://github.com/nodejs/docker-node.git synced 2025-04-18 17:04:01 +03:00

Clean cache after smoke test

This commit is contained in:
KobayashiAzusa 2025-03-14 16:55:53 +08:00
parent 8e848ca2ec
commit 1150bf9d53
3 changed files with 6 additions and 3 deletions

View File

@ -68,7 +68,8 @@ RUN addgroup -g 1000 node \
&& apk del .build-deps \
# smoke tests
&& node --version \
&& npm --version
&& npm --version \
&& rm -rf /tmp/*
ENV YARN_VERSION 0.0.0

View File

@ -36,7 +36,8 @@ RUN ARCH= && dpkgArch="$(dpkg --print-architecture)" \
&& ln -s /usr/local/bin/node /usr/local/bin/nodejs \
# smoke tests
&& node --version \
&& npm --version
&& npm --version \
&& rm -rf /tmp/*
ENV YARN_VERSION 0.0.0

View File

@ -50,7 +50,8 @@ RUN ARCH= OPENSSL_ARCH= && dpkgArch="$(dpkg --print-architecture)" \
&& ln -s /usr/local/bin/node /usr/local/bin/nodejs \
# smoke tests
&& node --version \
&& npm --version
&& npm --version \
&& rm -rf /tmp/*
ENV YARN_VERSION 0.0.0