fix(.devcontainer/Dockerfile): chown bashrc

This commit is contained in:
Cian Johnston
2025-05-13 15:15:16 +01:00
committed by GitHub
parent 9068666f06
commit c8aab4749c

View File

@@ -4,7 +4,8 @@ RUN apt-get update
RUN apt-get install vim sudo curl -y RUN apt-get install vim sudo curl -y
RUN useradd -m -s /bin/bash -G sudo coder RUN useradd -m -s /bin/bash -G sudo coder
USER coder
# Let's add a fancy prompt! # Let's add a fancy prompt!
RUN echo "PS1='🐳 \[\033[1;36m\]\h \[\033[1;34m\]\W\[\033[0;35m\] \[\033[1;36m\]# \[\033[0m\]'" > ~/.bashrc RUN echo "PS1='🐳 \[\033[1;36m\]\h \[\033[1;34m\]\W\[\033[0;35m\] \[\033[1;36m\]# \[\033[0m\]'" > /home/coder/.bashrc && \
chown coder:coder /home/coder/.bashrc
USER coder