Page MenuHomeDevCentral

D2368.id5959.diff
No OneTemporary

D2368.id5959.diff

diff --git a/Dockerfile b/Dockerfile
--- a/Dockerfile
+++ b/Dockerfile
@@ -9,18 +9,24 @@
# Prepare the container
#
+ENV GIT_VERSION=2.28.0
+
RUN apt-get update && apt-get install -y \
mercurial subversion openssh-client locales clang-format \
python3 \
silversearcher-ag \
shellcheck \
- --no-install-recommends && rm -r /var/lib/apt/lists/*
+ make libssl-dev libghc-zlib-dev libcurl4-gnutls-dev libexpat1-dev gettext \
+ --no-install-recommends && apt-get remove -y git && rm -r /var/lib/apt/lists/* && \
+ wget https://github.com/git/git/archive/v$GIT_VERSION.zip -O git.zip && \
+ unzip git.zip && cd git-$GIT_VERSION && make prefix=/usr/local all install
RUN cd /opt && \
git clone https://github.com/phacility/arcanist.git && \
git clone https://github.com/vhbit/clang-format-linter.git && \
git clone https://devcentral.nasqueron.org/source/shellcheck-linter.git && \
wget https://raw.githubusercontent.com/git/git/master/contrib/completion/git-completion.bash && \
+ wget https://raw.githubusercontent.com/git/git/master/contrib/completion/git-prompt.sh && \
cd /home/app && \
ln -s /opt/arcanist/bin/arc /usr/local/bin/arc && \
ln -s /opt/config/gitconfig /root/.gitconfig && \
diff --git a/files/root/.bashrc b/files/root/.bashrc
--- a/files/root/.bashrc
+++ b/files/root/.bashrc
@@ -3,7 +3,7 @@
source /opt/git-completion.bash
# Prompt - Git information
-source /etc/bash_completion.d/git-prompt
+source /opt/git-prompt.sh
PS1='[\u@\h \W$(__git_ps1 " (%s)")]\$ '
GIT_PS1_SHOWDIRTYSTATE=1
GIT_PS1_SHOWUNTRACKEDFILES=1

File Metadata

Mime Type
text/plain
Expires
Thu, May 1, 22:58 (18 h, 31 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2622746
Default Alt Text
D2368.id5959.diff (1 KB)

Event Timeline