add powerline to workspace (#2062)

This commit is contained in:
ahkui
2019-03-28 09:54:51 +08:00
committed by Shao Yu-Lung (Allen)
parent 1f22e86d92
commit 58d7d4fa0b
4 changed files with 37 additions and 3 deletions

View File

@ -871,6 +871,23 @@ RUN if [ ${INSTALL_PYTHON} = true ]; then \
&& python -m pip install --upgrade virtualenv \
;fi
###########################################################################
# POWERLINE:
###########################################################################
USER root
ARG INSTALL_POWERLINE=false
RUN if [ ${INSTALL_POWERLINE} = true ]; then \
if [ ${INSTALL_PYTHON} = true ]; then \
python -m pip install --upgrade powerline-status && \
echo "" >> /etc/bash.bashrc && \
echo ". /usr/local/lib/python2.7/dist-packages/powerline/bindings/bash/powerline.sh" >> /etc/bash.bashrc \
;fi \
;fi
USER laradock
###########################################################################
# ImageMagick:
###########################################################################