Skip to content

Commit 48003d4

Browse files
Merge pull request #2207 from KobayashiAzusa/clean-smoke-tests-cache
Clean cache after smoke test, fix #2199
2 parents c649cd7 + 1150bf9 commit 48003d4

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

Dockerfile-alpine.template

+2-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@ RUN addgroup -g 1000 node \
6868
&& apk del .build-deps \
6969
# smoke tests
7070
&& node --version \
71-
&& npm --version
71+
&& npm --version \
72+
&& rm -rf /tmp/*
7273

7374
ENV YARN_VERSION 0.0.0
7475

Dockerfile-debian.template

+2-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ RUN ARCH= && dpkgArch="$(dpkg --print-architecture)" \
3636
&& ln -s /usr/local/bin/node /usr/local/bin/nodejs \
3737
# smoke tests
3838
&& node --version \
39-
&& npm --version
39+
&& npm --version \
40+
&& rm -rf /tmp/*
4041

4142
ENV YARN_VERSION 0.0.0
4243

Dockerfile-slim.template

+2-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ RUN ARCH= OPENSSL_ARCH= && dpkgArch="$(dpkg --print-architecture)" \
5050
&& ln -s /usr/local/bin/node /usr/local/bin/nodejs \
5151
# smoke tests
5252
&& node --version \
53-
&& npm --version
53+
&& npm --version \
54+
&& rm -rf /tmp/*
5455

5556
ENV YARN_VERSION 0.0.0
5657

0 commit comments

Comments
 (0)