Fix: ensure git prompt helper is sourced in the default user's .bashrc
All checks were successful
Build Docker Image / build (push) Successful in 1m21s

This commit is contained in:
2025-12-17 22:20:09 +01:00
parent b90a6a0746
commit 42c2dd933c

View File

@@ -42,6 +42,12 @@ if ! command -v __git_ps1 > /dev/null; then
fi
EOF
RUN cat <<'EOF' >> /home/ubuntu/.bashrc
if ! command -v __git_ps1 > /dev/null; then
source /etc/profile.d/git-prompt-helper
fi
EOF
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]