add powerline to workspace (#2062)
This commit is contained in:

committed by
Shao Yu-Lung (Allen)

parent
1f22e86d92
commit
58d7d4fa0b
@ -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:
|
||||
###########################################################################
|
||||
|
Reference in New Issue
Block a user