diff --git a/Dockerfile b/Dockerfile index 1068b2d..2b5af66 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"]