From 2387402c35f19b552365fb0ae6ac00f237e0705b Mon Sep 17 00:00:00 2001 From: Pagan Gazzard Date: Thu, 7 May 2015 16:27:27 +0100 Subject: [PATCH] Clean up tmp files left behind by npm. --- CHANGELOG.md | 1 + Dockerfile.armv7hf | 1 + Dockerfile.i386 | 1 + Dockerfile.rpi | 1 + Dockerfile.x86_64 | 1 + 5 files changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 97062b56..a349c2cb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,4 @@ +* Clean up tmp files left behind by npm [Page] * Fix an error where mixpanel events would have the wrong uuid set on first provision. [Page] * Update knexjs to ~0.8.3, which uses lodash 3 and means it will be deduplicated (reducing image size and runtime memory usage) [Page] * Stop caching config.json, avoids a race that could cause getting stuck repeatedly trying to register [Page] diff --git a/Dockerfile.armv7hf b/Dockerfile.armv7hf index d98c111e..e163bf75 100644 --- a/Dockerfile.armv7hf +++ b/Dockerfile.armv7hf @@ -19,6 +19,7 @@ RUN apt-get -q update \ && npm install --unsafe-perm --production \ && npm dedupe \ && npm cache clean \ + && rm -rf /tmp/* \ && apt-get purge -qqy g++ libsqlite3-dev make binutils \ && apt-get clean \ && apt-get autoremove -qqy \ diff --git a/Dockerfile.i386 b/Dockerfile.i386 index 4d41f4b1..1c7a727e 100644 --- a/Dockerfile.i386 +++ b/Dockerfile.i386 @@ -19,6 +19,7 @@ RUN apt-get -q update \ && npm install --unsafe-perm --production \ && npm dedupe \ && npm cache clean \ + && rm -rf /tmp/* \ && apt-get purge -qqy g++ libsqlite3-dev make binutils \ && apt-get clean \ && apt-get autoremove -qqy \ diff --git a/Dockerfile.rpi b/Dockerfile.rpi index 61c6c1ea..102de74e 100644 --- a/Dockerfile.rpi +++ b/Dockerfile.rpi @@ -19,6 +19,7 @@ RUN apt-get -q update \ && npm install --unsafe-perm --production \ && npm dedupe \ && npm cache clean \ + && rm -rf /tmp/* \ && apt-get purge -qqy g++ libsqlite3-dev make binutils \ && apt-get clean \ && apt-get autoremove -qqy \ diff --git a/Dockerfile.x86_64 b/Dockerfile.x86_64 index d5ba91d0..a08a8d3f 100644 --- a/Dockerfile.x86_64 +++ b/Dockerfile.x86_64 @@ -19,6 +19,7 @@ RUN apt-get -q update \ && npm install --unsafe-perm --production \ && npm dedupe \ && npm cache clean \ + && rm -rf /tmp/* \ && apt-get purge -qqy g++ libsqlite3-dev make binutils \ && apt-get clean \ && apt-get autoremove -qqy \