diff --git a/scripts/installer.sh b/scripts/installer.sh index 0ba024dad..29dd04742 100755 --- a/scripts/installer.sh +++ b/scripts/installer.sh @@ -6,13 +6,16 @@ set -euET -o pipefail echo "Installing LIGO" # 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 sudo cp ligo.sh /usr/local/bin/ligo sudo chmod +x /usr/local/bin/ligo rm ligo.sh +# Pull the docker image used by ligo.sh +docker pull ligolang/ligo:latest + # Installation finished, try running 'ligo' from your CLI -echo "Installation successful, trying to run 'ligo' now. \n" -ligo --help +echo "Installation successful, try to run 'ligo --help' now. \n" \ No newline at end of file diff --git a/scripts/ligo.sh b/scripts/ligo.sh index 24a7bf0c9..8ccadad8e 100755 --- a/scripts/ligo.sh +++ b/scripts/ligo.sh @@ -1,2 +1,2 @@ #!/bin/bash -docker run -it -v "$PWD":"$PWD" -w "$PWD" ligolang/ligo "$@" \ No newline at end of file +docker run -it -v "$PWD":"$PWD" -w "$PWD" ligolang/ligo:latest "$@" \ No newline at end of file