Fix npm/yarn cache cleaning

remotes/1727458204337373841/tmp_refs/heads/signup-info-prompt
Florian Maunier 2017-04-07 13:31:18 +02:00
parent e2f024147c
commit 12f1cdeed1
No known key found for this signature in database
GPG Key ID: A3B16B99F9108DD9
1 changed files with 2 additions and 1 deletions

View File

@ -29,7 +29,8 @@ RUN BUILD_DEPS=" \
&& npm install -g npm@3 && npm install -g yarn \ && npm install -g npm@3 && npm install -g yarn \
&& bundle install --deployment --without test development \ && bundle install --deployment --without test development \
&& yarn \ && yarn \
&& npm cache clean \ && yarn cache clean \
&& npm -g cache clean \
&& apk del $BUILD_DEPS \ && apk del $BUILD_DEPS \
&& rm -rf /tmp/* /var/cache/apk/* && rm -rf /tmp/* /var/cache/apk/*