From dbc6d93dadfbd5dce8b14ed2ccceb1998ed4c5c1 Mon Sep 17 00:00:00 2001 From: Lin Jen-Shin Date: Fri, 28 Jul 2017 03:47:36 +0800 Subject: [PATCH] Try to install ripgrep --- ...lang-1.8-git-2.7-phantomjs-2.1-node-7.1-postgresql-9.6 | 1 + scripts/install-ripgrep | 8 ++++++++ 2 files changed, 9 insertions(+) create mode 100755 scripts/install-ripgrep diff --git a/Dockerfile.ruby-2.3.3-golang-1.8-git-2.7-phantomjs-2.1-node-7.1-postgresql-9.6 b/Dockerfile.ruby-2.3.3-golang-1.8-git-2.7-phantomjs-2.1-node-7.1-postgresql-9.6 index 1699da7..ecb96d1 100644 --- a/Dockerfile.ruby-2.3.3-golang-1.8-git-2.7-phantomjs-2.1-node-7.1-postgresql-9.6 +++ b/Dockerfile.ruby-2.3.3-golang-1.8-git-2.7-phantomjs-2.1-node-7.1-postgresql-9.6 @@ -6,6 +6,7 @@ RUN /scripts/install-phantomjs 2.1.1 RUN /scripts/install-node RUN /scripts/install-golang RUN /scripts/install-postgresql +RUN /scripts/install-ripgrep ENV PATH /usr/local/go/bin:$PATH diff --git a/scripts/install-ripgrep b/scripts/install-ripgrep new file mode 100755 index 0000000..2748725 --- /dev/null +++ b/scripts/install-ripgrep @@ -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