Add pulling of the docker image used by the CLI wrapper, nicer comments & messages
This commit is contained in:
parent
15d1e0e580
commit
b5f175f6c1
@ -6,13 +6,16 @@ set -euET -o pipefail
|
|||||||
echo "Installing LIGO"
|
echo "Installing LIGO"
|
||||||
|
|
||||||
# Install the ligo.sh from master
|
# Install the ligo.sh from master
|
||||||
wget https://gitlab.com/ligolang/ligo/blob/master/scripts/ligo.sh
|
# wget https://gitlab.com/ligolang/ligo/blob/master/scripts/ligo.sh
|
||||||
|
wget localhost:8080/scripts/ligo.sh
|
||||||
|
|
||||||
# Copy the exucutable to the appropriate directory
|
# Copy the exucutable to the appropriate directory
|
||||||
sudo cp ligo.sh /usr/local/bin/ligo
|
sudo cp ligo.sh /usr/local/bin/ligo
|
||||||
sudo chmod +x /usr/local/bin/ligo
|
sudo chmod +x /usr/local/bin/ligo
|
||||||
rm ligo.sh
|
rm ligo.sh
|
||||||
|
|
||||||
|
# Pull the docker image used by ligo.sh
|
||||||
|
docker pull ligolang/ligo:latest
|
||||||
|
|
||||||
# Installation finished, try running 'ligo' from your CLI
|
# Installation finished, try running 'ligo' from your CLI
|
||||||
echo "Installation successful, trying to run 'ligo' now. \n"
|
echo "Installation successful, try to run 'ligo --help' now. \n"
|
||||||
ligo --help
|
|
@ -1,2 +1,2 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
docker run -it -v "$PWD":"$PWD" -w "$PWD" ligolang/ligo "$@"
|
docker run -it -v "$PWD":"$PWD" -w "$PWD" ligolang/ligo:latest "$@"
|
Loading…
Reference in New Issue
Block a user