Skip to content

Commit 558b622

Browse files
committed
Add script to install precious in Docker
1 parent dea7880 commit 558b622

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
/MYMETA.*
1010
/Makefile
1111
/Makefile.old
12+
/bin/precious
13+
/bin/ubi
1214
/blib
1315
/carton.lock
1416
/cover_db/

bin/install-precious

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#!/usr/bin/env bash
2+
3+
# This is for installing precious in a Docker container
4+
5+
set -euo pipefail
6+
7+
TARGET=./bin
8+
export TARGET
9+
10+
curl --silent --location \
11+
https://raw.githubusercontent.com/houseabsolute/ubi/master/bootstrap/bootstrap-ubi.sh |
12+
sh
13+
14+
ubi --project houseabsolute/precious --in $TARGET

0 commit comments

Comments
 (0)