Dockerfile: Remove ~/.local after building the notebook. This directory only contains bower stuff and bower is removed in this RUN step.

This commit is contained in:
John Kirkham 2015-10-10 17:53:18 -04:00
parent a7c3fa8b66
commit 7639785c28

View File

@ -86,6 +86,7 @@ RUN BUILD_DEPS="nodejs-legacy npm" && \
rm -rf /root/.npm && \
rm -rf /root/.cache && \
rm -rf /root/.config && \
rm -rf /root/.local && \
rm -rf /var/lib/apt/lists/* && \
apt-get purge -y --auto-remove \
-o APT::AutoRemove::RecommendsImportant=false -o APT::AutoRemove::SuggestsImportant=false $BUILD_DEPS