Skip to content

Commit 1150bf9

Browse files
Clean cache after smoke test
1 parent 8e848ca commit 1150bf9

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

Dockerfile-alpine.template

Lines changed: 2 additions & 1 deletion
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

Lines changed: 2 additions & 1 deletion
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

Lines changed: 2 additions & 1 deletion
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)