mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-09 18:12:55 +01:00
Try to install ripgrep
This commit is contained in:
parent
db0a09e184
commit
dbc6d93dad
2 changed files with 9 additions and 0 deletions
|
|
@ -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
8
scripts/install-ripgrep
Executable 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
|
||||||
Loading…
Add table
Add a link
Reference in a new issue