File tree 3 files changed +18
-6
lines changed
3 files changed +18
-6
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,9 @@ RUN addgroup -g 1000 node \
59
59
&& apk del .build-deps \
60
60
# smoke tests
61
61
&& node --version \
62
- && npm --version
62
+ && npm --version \
63
+ # cleanup
64
+ && rm -rf /root/.gnupg /root/.npm
63
65
64
66
ENV YARN_VERSION 0.0.0
65
67
@@ -80,7 +82,9 @@ RUN apk add --no-cache --virtual .build-deps-yarn curl gnupg tar \
80
82
&& rm yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz \
81
83
&& apk del .build-deps-yarn \
82
84
# smoke test
83
- && yarn --version
85
+ && yarn --version \
86
+ # cleanup
87
+ && rm -rf /root/.gnupg /tmp/v8-compile-cache-*
84
88
85
89
COPY docker-entrypoint.sh /usr/local/bin/
86
90
ENTRYPOINT ["docker-entrypoint.sh"]
Original file line number Diff line number Diff line change @@ -32,7 +32,9 @@ RUN ARCH= && dpkgArch="$(dpkg --print-architecture)" \
32
32
&& ln -s /usr/local/bin/node /usr/local/bin/nodejs \
33
33
# smoke tests
34
34
&& node --version \
35
- && npm --version
35
+ && npm --version \
36
+ # cleanup
37
+ && rm -rf /root/.gnupg /root/.npm
36
38
37
39
ENV YARN_VERSION 0.0.0
38
40
@@ -52,7 +54,9 @@ RUN set -ex \
52
54
&& ln -s /opt/yarn-v$YARN_VERSION/bin/yarnpkg /usr/local/bin/yarnpkg \
53
55
&& rm yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz \
54
56
# smoke test
55
- && yarn --version
57
+ && yarn --version \
58
+ # cleanup
59
+ && rm -rf /root/.gnupg /tmp/v8-compile-cache-*
56
60
57
61
COPY docker-entrypoint.sh /usr/local/bin/
58
62
ENTRYPOINT ["docker-entrypoint.sh"]
Original file line number Diff line number Diff line change @@ -43,7 +43,9 @@ RUN ARCH= && dpkgArch="$(dpkg --print-architecture)" \
43
43
&& ln -s /usr/local/bin/node /usr/local/bin/nodejs \
44
44
# smoke tests
45
45
&& node --version \
46
- && npm --version
46
+ && npm --version \
47
+ # cleanup
48
+ && rm -rf /root/.gnupg /root/.npm
47
49
48
50
ENV YARN_VERSION 0.0.0
49
51
@@ -76,7 +78,9 @@ RUN set -ex \
76
78
| xargs -r apt-mark manual \
77
79
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false \
78
80
# smoke test
79
- && yarn --version
81
+ && yarn --version \
82
+ # cleanup
83
+ && rm -rf /root/.gnupg /tmp/v8-compile-cache-*
80
84
81
85
COPY docker-entrypoint.sh /usr/local/bin/
82
86
ENTRYPOINT ["docker-entrypoint.sh"]
You can’t perform that action at this time.
0 commit comments