diff --git a/14/alpine3.16/Dockerfile b/14/alpine3.16/Dockerfile index dc091a7e5..717c18de2 100644 --- a/14/alpine3.16/Dockerfile +++ b/14/alpine3.16/Dockerfile @@ -67,7 +67,9 @@ RUN addgroup -g 1000 node \ && apk del .build-deps \ # smoke tests && node --version \ - && npm --version + && npm --version \ + # cleanup + && rm -rf /root/.gnupg /root/.npm ENV YARN_VERSION 1.22.19 @@ -88,7 +90,9 @@ RUN apk add --no-cache --virtual .build-deps-yarn curl gnupg tar \ && rm yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz \ && apk del .build-deps-yarn \ # smoke test - && yarn --version + && yarn --version \ + # cleanup + && rm -rf /root/.gnupg /tmp/v8-compile-cache-* COPY docker-entrypoint.sh /usr/local/bin/ ENTRYPOINT ["docker-entrypoint.sh"] diff --git a/14/alpine3.17/Dockerfile b/14/alpine3.17/Dockerfile index d872faac7..df3c42d03 100644 --- a/14/alpine3.17/Dockerfile +++ b/14/alpine3.17/Dockerfile @@ -67,7 +67,9 @@ RUN addgroup -g 1000 node \ && apk del .build-deps \ # smoke tests && node --version \ - && npm --version + && npm --version \ + # cleanup + && rm -rf /root/.gnupg /root/.npm ENV YARN_VERSION 1.22.19 @@ -88,7 +90,9 @@ RUN apk add --no-cache --virtual .build-deps-yarn curl gnupg tar \ && rm yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz \ && apk del .build-deps-yarn \ # smoke test - && yarn --version + && yarn --version \ + # cleanup + && rm -rf /root/.gnupg /tmp/v8-compile-cache-* COPY docker-entrypoint.sh /usr/local/bin/ ENTRYPOINT ["docker-entrypoint.sh"] diff --git a/14/bullseye-slim/Dockerfile b/14/bullseye-slim/Dockerfile index d5f89b13c..818ba9579 100644 --- a/14/bullseye-slim/Dockerfile +++ b/14/bullseye-slim/Dockerfile @@ -51,7 +51,9 @@ RUN ARCH= && dpkgArch="$(dpkg --print-architecture)" \ && ln -s /usr/local/bin/node /usr/local/bin/nodejs \ # smoke tests && node --version \ - && npm --version + && npm --version \ + # cleanup + && rm -rf /root/.gnupg /root/.npm ENV YARN_VERSION 1.22.19 @@ -84,7 +86,9 @@ RUN set -ex \ | xargs -r apt-mark manual \ && apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false \ # smoke test - && yarn --version + && yarn --version \ + # cleanup + && rm -rf /root/.gnupg /tmp/v8-compile-cache-* COPY docker-entrypoint.sh /usr/local/bin/ ENTRYPOINT ["docker-entrypoint.sh"] diff --git a/14/bullseye/Dockerfile b/14/bullseye/Dockerfile index e37050749..890a66868 100644 --- a/14/bullseye/Dockerfile +++ b/14/bullseye/Dockerfile @@ -40,7 +40,9 @@ RUN ARCH= && dpkgArch="$(dpkg --print-architecture)" \ && ln -s /usr/local/bin/node /usr/local/bin/nodejs \ # smoke tests && node --version \ - && npm --version + && npm --version \ + # cleanup + && rm -rf /root/.gnupg /root/.npm ENV YARN_VERSION 1.22.19 @@ -60,7 +62,9 @@ RUN set -ex \ && ln -s /opt/yarn-v$YARN_VERSION/bin/yarnpkg /usr/local/bin/yarnpkg \ && rm yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz \ # smoke test - && yarn --version + && yarn --version \ + # cleanup + && rm -rf /root/.gnupg /tmp/v8-compile-cache-* COPY docker-entrypoint.sh /usr/local/bin/ ENTRYPOINT ["docker-entrypoint.sh"] diff --git a/14/buster-slim/Dockerfile b/14/buster-slim/Dockerfile index 50f28f590..8a16b1c3b 100644 --- a/14/buster-slim/Dockerfile +++ b/14/buster-slim/Dockerfile @@ -51,7 +51,9 @@ RUN ARCH= && dpkgArch="$(dpkg --print-architecture)" \ && ln -s /usr/local/bin/node /usr/local/bin/nodejs \ # smoke tests && node --version \ - && npm --version + && npm --version \ + # cleanup + && rm -rf /root/.gnupg /root/.npm ENV YARN_VERSION 1.22.19 @@ -84,7 +86,9 @@ RUN set -ex \ | xargs -r apt-mark manual \ && apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false \ # smoke test - && yarn --version + && yarn --version \ + # cleanup + && rm -rf /root/.gnupg /tmp/v8-compile-cache-* COPY docker-entrypoint.sh /usr/local/bin/ ENTRYPOINT ["docker-entrypoint.sh"] diff --git a/14/buster/Dockerfile b/14/buster/Dockerfile index 576eab176..bf1ec7784 100644 --- a/14/buster/Dockerfile +++ b/14/buster/Dockerfile @@ -40,7 +40,9 @@ RUN ARCH= && dpkgArch="$(dpkg --print-architecture)" \ && ln -s /usr/local/bin/node /usr/local/bin/nodejs \ # smoke tests && node --version \ - && npm --version + && npm --version \ + # cleanup + && rm -rf /root/.gnupg /root/.npm ENV YARN_VERSION 1.22.19 @@ -60,7 +62,9 @@ RUN set -ex \ && ln -s /opt/yarn-v$YARN_VERSION/bin/yarnpkg /usr/local/bin/yarnpkg \ && rm yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz \ # smoke test - && yarn --version + && yarn --version \ + # cleanup + && rm -rf /root/.gnupg /tmp/v8-compile-cache-* COPY docker-entrypoint.sh /usr/local/bin/ ENTRYPOINT ["docker-entrypoint.sh"] diff --git a/16/alpine3.16/Dockerfile b/16/alpine3.16/Dockerfile index 020a4729c..25354e2ea 100644 --- a/16/alpine3.16/Dockerfile +++ b/16/alpine3.16/Dockerfile @@ -68,7 +68,9 @@ RUN addgroup -g 1000 node \ && apk del .build-deps \ # smoke tests && node --version \ - && npm --version + && npm --version \ + # cleanup + && rm -rf /root/.gnupg /root/.npm ENV YARN_VERSION 1.22.19 @@ -89,7 +91,9 @@ RUN apk add --no-cache --virtual .build-deps-yarn curl gnupg tar \ && rm yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz \ && apk del .build-deps-yarn \ # smoke test - && yarn --version + && yarn --version \ + # cleanup + && rm -rf /root/.gnupg /tmp/v8-compile-cache-* COPY docker-entrypoint.sh /usr/local/bin/ ENTRYPOINT ["docker-entrypoint.sh"] diff --git a/16/alpine3.17/Dockerfile b/16/alpine3.17/Dockerfile index d45280c9a..3b0e7f929 100644 --- a/16/alpine3.17/Dockerfile +++ b/16/alpine3.17/Dockerfile @@ -68,7 +68,9 @@ RUN addgroup -g 1000 node \ && apk del .build-deps \ # smoke tests && node --version \ - && npm --version + && npm --version \ + # cleanup + && rm -rf /root/.gnupg /root/.npm ENV YARN_VERSION 1.22.19 @@ -89,7 +91,9 @@ RUN apk add --no-cache --virtual .build-deps-yarn curl gnupg tar \ && rm yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz \ && apk del .build-deps-yarn \ # smoke test - && yarn --version + && yarn --version \ + # cleanup + && rm -rf /root/.gnupg /tmp/v8-compile-cache-* COPY docker-entrypoint.sh /usr/local/bin/ ENTRYPOINT ["docker-entrypoint.sh"] diff --git a/16/bullseye-slim/Dockerfile b/16/bullseye-slim/Dockerfile index 04ec63109..f792325a8 100644 --- a/16/bullseye-slim/Dockerfile +++ b/16/bullseye-slim/Dockerfile @@ -52,7 +52,9 @@ RUN ARCH= && dpkgArch="$(dpkg --print-architecture)" \ && ln -s /usr/local/bin/node /usr/local/bin/nodejs \ # smoke tests && node --version \ - && npm --version + && npm --version \ + # cleanup + && rm -rf /root/.gnupg /root/.npm ENV YARN_VERSION 1.22.19 @@ -85,7 +87,9 @@ RUN set -ex \ | xargs -r apt-mark manual \ && apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false \ # smoke test - && yarn --version + && yarn --version \ + # cleanup + && rm -rf /root/.gnupg /tmp/v8-compile-cache-* COPY docker-entrypoint.sh /usr/local/bin/ ENTRYPOINT ["docker-entrypoint.sh"] diff --git a/16/bullseye/Dockerfile b/16/bullseye/Dockerfile index 9bda6cd10..974350940 100644 --- a/16/bullseye/Dockerfile +++ b/16/bullseye/Dockerfile @@ -41,7 +41,9 @@ RUN ARCH= && dpkgArch="$(dpkg --print-architecture)" \ && ln -s /usr/local/bin/node /usr/local/bin/nodejs \ # smoke tests && node --version \ - && npm --version + && npm --version \ + # cleanup + && rm -rf /root/.gnupg /root/.npm ENV YARN_VERSION 1.22.19 @@ -61,7 +63,9 @@ RUN set -ex \ && ln -s /opt/yarn-v$YARN_VERSION/bin/yarnpkg /usr/local/bin/yarnpkg \ && rm yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz \ # smoke test - && yarn --version + && yarn --version \ + # cleanup + && rm -rf /root/.gnupg /tmp/v8-compile-cache-* COPY docker-entrypoint.sh /usr/local/bin/ ENTRYPOINT ["docker-entrypoint.sh"] diff --git a/16/buster-slim/Dockerfile b/16/buster-slim/Dockerfile index 280f1432f..ba66bfb50 100644 --- a/16/buster-slim/Dockerfile +++ b/16/buster-slim/Dockerfile @@ -52,7 +52,9 @@ RUN ARCH= && dpkgArch="$(dpkg --print-architecture)" \ && ln -s /usr/local/bin/node /usr/local/bin/nodejs \ # smoke tests && node --version \ - && npm --version + && npm --version \ + # cleanup + && rm -rf /root/.gnupg /root/.npm ENV YARN_VERSION 1.22.19 @@ -85,7 +87,9 @@ RUN set -ex \ | xargs -r apt-mark manual \ && apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false \ # smoke test - && yarn --version + && yarn --version \ + # cleanup + && rm -rf /root/.gnupg /tmp/v8-compile-cache-* COPY docker-entrypoint.sh /usr/local/bin/ ENTRYPOINT ["docker-entrypoint.sh"] diff --git a/16/buster/Dockerfile b/16/buster/Dockerfile index b034997a9..67981dc60 100644 --- a/16/buster/Dockerfile +++ b/16/buster/Dockerfile @@ -41,7 +41,9 @@ RUN ARCH= && dpkgArch="$(dpkg --print-architecture)" \ && ln -s /usr/local/bin/node /usr/local/bin/nodejs \ # smoke tests && node --version \ - && npm --version + && npm --version \ + # cleanup + && rm -rf /root/.gnupg /root/.npm ENV YARN_VERSION 1.22.19 @@ -61,7 +63,9 @@ RUN set -ex \ && ln -s /opt/yarn-v$YARN_VERSION/bin/yarnpkg /usr/local/bin/yarnpkg \ && rm yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz \ # smoke test - && yarn --version + && yarn --version \ + # cleanup + && rm -rf /root/.gnupg /tmp/v8-compile-cache-* COPY docker-entrypoint.sh /usr/local/bin/ ENTRYPOINT ["docker-entrypoint.sh"] diff --git a/18/alpine3.16/Dockerfile b/18/alpine3.16/Dockerfile index bab778cb2..382c77dec 100644 --- a/18/alpine3.16/Dockerfile +++ b/18/alpine3.16/Dockerfile @@ -68,7 +68,9 @@ RUN addgroup -g 1000 node \ && apk del .build-deps \ # smoke tests && node --version \ - && npm --version + && npm --version \ + # cleanup + && rm -rf /root/.gnupg /root/.npm ENV YARN_VERSION 1.22.19 @@ -89,7 +91,9 @@ RUN apk add --no-cache --virtual .build-deps-yarn curl gnupg tar \ && rm yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz \ && apk del .build-deps-yarn \ # smoke test - && yarn --version + && yarn --version \ + # cleanup + && rm -rf /root/.gnupg /tmp/v8-compile-cache-* COPY docker-entrypoint.sh /usr/local/bin/ ENTRYPOINT ["docker-entrypoint.sh"] diff --git a/18/alpine3.17/Dockerfile b/18/alpine3.17/Dockerfile index 995e26d6c..85f171b26 100644 --- a/18/alpine3.17/Dockerfile +++ b/18/alpine3.17/Dockerfile @@ -68,7 +68,9 @@ RUN addgroup -g 1000 node \ && apk del .build-deps \ # smoke tests && node --version \ - && npm --version + && npm --version \ + # cleanup + && rm -rf /root/.gnupg /root/.npm ENV YARN_VERSION 1.22.19 @@ -89,7 +91,9 @@ RUN apk add --no-cache --virtual .build-deps-yarn curl gnupg tar \ && rm yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz \ && apk del .build-deps-yarn \ # smoke test - && yarn --version + && yarn --version \ + # cleanup + && rm -rf /root/.gnupg /tmp/v8-compile-cache-* COPY docker-entrypoint.sh /usr/local/bin/ ENTRYPOINT ["docker-entrypoint.sh"] diff --git a/18/bullseye-slim/Dockerfile b/18/bullseye-slim/Dockerfile index dd35bdeda..0d4f6fed9 100644 --- a/18/bullseye-slim/Dockerfile +++ b/18/bullseye-slim/Dockerfile @@ -52,7 +52,9 @@ RUN ARCH= && dpkgArch="$(dpkg --print-architecture)" \ && ln -s /usr/local/bin/node /usr/local/bin/nodejs \ # smoke tests && node --version \ - && npm --version + && npm --version \ + # cleanup + && rm -rf /root/.gnupg /root/.npm ENV YARN_VERSION 1.22.19 @@ -85,7 +87,9 @@ RUN set -ex \ | xargs -r apt-mark manual \ && apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false \ # smoke test - && yarn --version + && yarn --version \ + # cleanup + && rm -rf /root/.gnupg /tmp/v8-compile-cache-* COPY docker-entrypoint.sh /usr/local/bin/ ENTRYPOINT ["docker-entrypoint.sh"] diff --git a/18/bullseye/Dockerfile b/18/bullseye/Dockerfile index 9ccf461e3..9807d8bff 100644 --- a/18/bullseye/Dockerfile +++ b/18/bullseye/Dockerfile @@ -41,7 +41,9 @@ RUN ARCH= && dpkgArch="$(dpkg --print-architecture)" \ && ln -s /usr/local/bin/node /usr/local/bin/nodejs \ # smoke tests && node --version \ - && npm --version + && npm --version \ + # cleanup + && rm -rf /root/.gnupg /root/.npm ENV YARN_VERSION 1.22.19 @@ -61,7 +63,9 @@ RUN set -ex \ && ln -s /opt/yarn-v$YARN_VERSION/bin/yarnpkg /usr/local/bin/yarnpkg \ && rm yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz \ # smoke test - && yarn --version + && yarn --version \ + # cleanup + && rm -rf /root/.gnupg /tmp/v8-compile-cache-* COPY docker-entrypoint.sh /usr/local/bin/ ENTRYPOINT ["docker-entrypoint.sh"] diff --git a/18/buster-slim/Dockerfile b/18/buster-slim/Dockerfile index 8a447451e..c8d1533e2 100644 --- a/18/buster-slim/Dockerfile +++ b/18/buster-slim/Dockerfile @@ -52,7 +52,9 @@ RUN ARCH= && dpkgArch="$(dpkg --print-architecture)" \ && ln -s /usr/local/bin/node /usr/local/bin/nodejs \ # smoke tests && node --version \ - && npm --version + && npm --version \ + # cleanup + && rm -rf /root/.gnupg /root/.npm ENV YARN_VERSION 1.22.19 @@ -85,7 +87,9 @@ RUN set -ex \ | xargs -r apt-mark manual \ && apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false \ # smoke test - && yarn --version + && yarn --version \ + # cleanup + && rm -rf /root/.gnupg /tmp/v8-compile-cache-* COPY docker-entrypoint.sh /usr/local/bin/ ENTRYPOINT ["docker-entrypoint.sh"] diff --git a/18/buster/Dockerfile b/18/buster/Dockerfile index ce22a999a..23e770975 100644 --- a/18/buster/Dockerfile +++ b/18/buster/Dockerfile @@ -41,7 +41,9 @@ RUN ARCH= && dpkgArch="$(dpkg --print-architecture)" \ && ln -s /usr/local/bin/node /usr/local/bin/nodejs \ # smoke tests && node --version \ - && npm --version + && npm --version \ + # cleanup + && rm -rf /root/.gnupg /root/.npm ENV YARN_VERSION 1.22.19 @@ -61,7 +63,9 @@ RUN set -ex \ && ln -s /opt/yarn-v$YARN_VERSION/bin/yarnpkg /usr/local/bin/yarnpkg \ && rm yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz \ # smoke test - && yarn --version + && yarn --version \ + # cleanup + && rm -rf /root/.gnupg /tmp/v8-compile-cache-* COPY docker-entrypoint.sh /usr/local/bin/ ENTRYPOINT ["docker-entrypoint.sh"] diff --git a/19/alpine3.16/Dockerfile b/19/alpine3.16/Dockerfile index 9bd0372a0..c80a94dce 100644 --- a/19/alpine3.16/Dockerfile +++ b/19/alpine3.16/Dockerfile @@ -68,7 +68,9 @@ RUN addgroup -g 1000 node \ && apk del .build-deps \ # smoke tests && node --version \ - && npm --version + && npm --version \ + # cleanup + && rm -rf /root/.gnupg /root/.npm ENV YARN_VERSION 1.22.19 @@ -89,7 +91,9 @@ RUN apk add --no-cache --virtual .build-deps-yarn curl gnupg tar \ && rm yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz \ && apk del .build-deps-yarn \ # smoke test - && yarn --version + && yarn --version \ + # cleanup + && rm -rf /root/.gnupg /tmp/v8-compile-cache-* COPY docker-entrypoint.sh /usr/local/bin/ ENTRYPOINT ["docker-entrypoint.sh"] diff --git a/19/alpine3.17/Dockerfile b/19/alpine3.17/Dockerfile index a09f18a7c..e1d8b7044 100644 --- a/19/alpine3.17/Dockerfile +++ b/19/alpine3.17/Dockerfile @@ -68,7 +68,9 @@ RUN addgroup -g 1000 node \ && apk del .build-deps \ # smoke tests && node --version \ - && npm --version + && npm --version \ + # cleanup + && rm -rf /root/.gnupg /root/.npm ENV YARN_VERSION 1.22.19 @@ -89,7 +91,9 @@ RUN apk add --no-cache --virtual .build-deps-yarn curl gnupg tar \ && rm yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz \ && apk del .build-deps-yarn \ # smoke test - && yarn --version + && yarn --version \ + # cleanup + && rm -rf /root/.gnupg /tmp/v8-compile-cache-* COPY docker-entrypoint.sh /usr/local/bin/ ENTRYPOINT ["docker-entrypoint.sh"] diff --git a/19/bullseye-slim/Dockerfile b/19/bullseye-slim/Dockerfile index c9e6d42a0..242cfb8aa 100644 --- a/19/bullseye-slim/Dockerfile +++ b/19/bullseye-slim/Dockerfile @@ -52,7 +52,9 @@ RUN ARCH= && dpkgArch="$(dpkg --print-architecture)" \ && ln -s /usr/local/bin/node /usr/local/bin/nodejs \ # smoke tests && node --version \ - && npm --version + && npm --version \ + # cleanup + && rm -rf /root/.gnupg /root/.npm ENV YARN_VERSION 1.22.19 @@ -85,7 +87,9 @@ RUN set -ex \ | xargs -r apt-mark manual \ && apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false \ # smoke test - && yarn --version + && yarn --version \ + # cleanup + && rm -rf /root/.gnupg /tmp/v8-compile-cache-* COPY docker-entrypoint.sh /usr/local/bin/ ENTRYPOINT ["docker-entrypoint.sh"] diff --git a/19/bullseye/Dockerfile b/19/bullseye/Dockerfile index 270cd6317..93d6f12aa 100644 --- a/19/bullseye/Dockerfile +++ b/19/bullseye/Dockerfile @@ -41,7 +41,9 @@ RUN ARCH= && dpkgArch="$(dpkg --print-architecture)" \ && ln -s /usr/local/bin/node /usr/local/bin/nodejs \ # smoke tests && node --version \ - && npm --version + && npm --version \ + # cleanup + && rm -rf /root/.gnupg /root/.npm ENV YARN_VERSION 1.22.19 @@ -61,7 +63,9 @@ RUN set -ex \ && ln -s /opt/yarn-v$YARN_VERSION/bin/yarnpkg /usr/local/bin/yarnpkg \ && rm yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz \ # smoke test - && yarn --version + && yarn --version \ + # cleanup + && rm -rf /root/.gnupg /tmp/v8-compile-cache-* COPY docker-entrypoint.sh /usr/local/bin/ ENTRYPOINT ["docker-entrypoint.sh"] diff --git a/19/buster-slim/Dockerfile b/19/buster-slim/Dockerfile index d4b9d5052..93a5f0832 100644 --- a/19/buster-slim/Dockerfile +++ b/19/buster-slim/Dockerfile @@ -52,7 +52,9 @@ RUN ARCH= && dpkgArch="$(dpkg --print-architecture)" \ && ln -s /usr/local/bin/node /usr/local/bin/nodejs \ # smoke tests && node --version \ - && npm --version + && npm --version \ + # cleanup + && rm -rf /root/.gnupg /root/.npm ENV YARN_VERSION 1.22.19 @@ -85,7 +87,9 @@ RUN set -ex \ | xargs -r apt-mark manual \ && apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false \ # smoke test - && yarn --version + && yarn --version \ + # cleanup + && rm -rf /root/.gnupg /tmp/v8-compile-cache-* COPY docker-entrypoint.sh /usr/local/bin/ ENTRYPOINT ["docker-entrypoint.sh"] diff --git a/19/buster/Dockerfile b/19/buster/Dockerfile index e3c06ed2d..ecf1ad5a9 100644 --- a/19/buster/Dockerfile +++ b/19/buster/Dockerfile @@ -41,7 +41,9 @@ RUN ARCH= && dpkgArch="$(dpkg --print-architecture)" \ && ln -s /usr/local/bin/node /usr/local/bin/nodejs \ # smoke tests && node --version \ - && npm --version + && npm --version \ + # cleanup + && rm -rf /root/.gnupg /root/.npm ENV YARN_VERSION 1.22.19 @@ -61,7 +63,9 @@ RUN set -ex \ && ln -s /opt/yarn-v$YARN_VERSION/bin/yarnpkg /usr/local/bin/yarnpkg \ && rm yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz \ # smoke test - && yarn --version + && yarn --version \ + # cleanup + && rm -rf /root/.gnupg /tmp/v8-compile-cache-* COPY docker-entrypoint.sh /usr/local/bin/ ENTRYPOINT ["docker-entrypoint.sh"] diff --git a/Dockerfile-alpine.template b/Dockerfile-alpine.template index c2e2c5a5a..e671ef785 100644 --- a/Dockerfile-alpine.template +++ b/Dockerfile-alpine.template @@ -59,7 +59,9 @@ RUN addgroup -g 1000 node \ && apk del .build-deps \ # smoke tests && node --version \ - && npm --version + && npm --version \ + # cleanup + && rm -rf /root/.gnupg /root/.npm ENV YARN_VERSION 0.0.0 @@ -80,7 +82,9 @@ RUN apk add --no-cache --virtual .build-deps-yarn curl gnupg tar \ && rm yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz \ && apk del .build-deps-yarn \ # smoke test - && yarn --version + && yarn --version \ + # cleanup + && rm -rf /root/.gnupg /tmp/v8-compile-cache-* COPY docker-entrypoint.sh /usr/local/bin/ ENTRYPOINT ["docker-entrypoint.sh"] diff --git a/Dockerfile-debian.template b/Dockerfile-debian.template index 17962567f..62654d8b3 100644 --- a/Dockerfile-debian.template +++ b/Dockerfile-debian.template @@ -32,7 +32,9 @@ RUN ARCH= && dpkgArch="$(dpkg --print-architecture)" \ && ln -s /usr/local/bin/node /usr/local/bin/nodejs \ # smoke tests && node --version \ - && npm --version + && npm --version \ + # cleanup + && rm -rf /root/.gnupg /root/.npm ENV YARN_VERSION 0.0.0 @@ -52,7 +54,9 @@ RUN set -ex \ && ln -s /opt/yarn-v$YARN_VERSION/bin/yarnpkg /usr/local/bin/yarnpkg \ && rm yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz \ # smoke test - && yarn --version + && yarn --version \ + # cleanup + && rm -rf /root/.gnupg /tmp/v8-compile-cache-* COPY docker-entrypoint.sh /usr/local/bin/ ENTRYPOINT ["docker-entrypoint.sh"] diff --git a/Dockerfile-slim.template b/Dockerfile-slim.template index aa7816d96..8c9a79fe6 100644 --- a/Dockerfile-slim.template +++ b/Dockerfile-slim.template @@ -43,7 +43,9 @@ RUN ARCH= && dpkgArch="$(dpkg --print-architecture)" \ && ln -s /usr/local/bin/node /usr/local/bin/nodejs \ # smoke tests && node --version \ - && npm --version + && npm --version \ + # cleanup + && rm -rf /root/.gnupg /root/.npm ENV YARN_VERSION 0.0.0 @@ -76,7 +78,9 @@ RUN set -ex \ | xargs -r apt-mark manual \ && apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false \ # smoke test - && yarn --version + && yarn --version \ + # cleanup + && rm -rf /root/.gnupg /tmp/v8-compile-cache-* COPY docker-entrypoint.sh /usr/local/bin/ ENTRYPOINT ["docker-entrypoint.sh"]