Try to install ripgrep

This commit is contained in:
Lin Jen-Shin 2017-07-28 03:47:36 +08:00
parent db0a09e184
commit dbc6d93dad
2 changed files with 9 additions and 0 deletions

View file

@ -6,6 +6,7 @@ RUN /scripts/install-phantomjs 2.1.1
RUN /scripts/install-node RUN /scripts/install-node
RUN /scripts/install-golang RUN /scripts/install-golang
RUN /scripts/install-postgresql RUN /scripts/install-postgresql
RUN /scripts/install-ripgrep
ENV PATH /usr/local/go/bin:$PATH ENV PATH /usr/local/go/bin:$PATH

8
scripts/install-ripgrep Executable file
View file

@ -0,0 +1,8 @@
#!/bin/bash
# Use `apt-get install cargo` whenever available
curl https://sh.rustup.rs -sSf | sh /dev/stdin -y
~/.cargo/bin/cargo install ripgrep --root /usr/local
apt-get install silversearcher-ag