Page MenuHomeDevCentral

No OneTemporary

diff --git a/Dockerfile b/Dockerfile
index c196d06..6c07b26 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,37 +1,43 @@
#
# Nasqueron - Arcanist image
#
FROM nasqueron/php-cli
MAINTAINER Sébastien Santoro aka Dereckson <dereckson+nasqueron-docker@espace-win.org>
#
# 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 && \
ln -s /opt/config/arcrc /root/.arcrc
COPY files /
#
# Docker properties
#
VOLUME ["/opt/config", "/opt/workspace"]
WORKDIR /opt/workspace
CMD ["/usr/local/bin/arc"]
diff --git a/files/root/.bashrc b/files/root/.bashrc
index 75d9c98..d2ed9ab 100644
--- a/files/root/.bashrc
+++ b/files/root/.bashrc
@@ -1,11 +1,11 @@
# Autocompletion
source /opt/arcanist/support/shell/hooks/bash-completion.sh
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
GIT_PS1_SHOWUPSTREAM="auto"
GIT_PS1_SHOWCOLORHINTS=1

File Metadata

Mime Type
text/x-diff
Expires
Thu, Sep 18, 07:44 (2 h, 36 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2988361
Default Alt Text
(2 KB)

Event Timeline