fix: docker: io: PS1 environment variable in Dockerfile

This commit is contained in:
coderaiser 2026-03-28 23:42:07 +01:00 committed by GitHub
parent fa8875d53c
commit f671f79814
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -33,7 +33,6 @@ RUN apt-get update && apt-get upgrade && apt-get autoremove && \
echo "> configure bash" && \ echo "> configure bash" && \
echo "alias ls='ls --color=auto'" >> /etc/bash.bashrc && \ echo "alias ls='ls --color=auto'" >> /etc/bash.bashrc && \
echo "alias buni='bun i --no-save'" >> /etc/bash.bashrc && \ echo "alias buni='bun i --no-save'" >> /etc/bash.bashrc && \
echo "PS1='\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '" >> /etc/bash.bashrc && \
echo "> setup inputrc" && \ echo "> setup inputrc" && \
echo "set editing-mode vi" >> /etc/inputrc && \ echo "set editing-mode vi" >> /etc/inputrc && \
echo "TAB: menu-complete" >> /etc/inputrc && \ echo "TAB: menu-complete" >> /etc/inputrc && \
@ -58,6 +57,7 @@ ENV LANG=en_US.UTF-8
ENV LANGUAGE=en_US:en ENV LANGUAGE=en_US:en
ENV LC_ALL=en_US.UTF-8 ENV LC_ALL=en_US.UTF-8
ENV PS1="\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ "
EXPOSE 8000 EXPOSE 8000