forked from treehouse/mastodon
Fix npm/yarn cache cleaning
parent
e2f024147c
commit
12f1cdeed1
|
@ -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/*
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue