Forgot to remove gcc as a dependency so the docker image is smaller.

This commit is contained in:
Christian Rinderknecht 2020-04-14 11:51:24 +02:00
parent bdb8c5a612
commit d49e856ece

View File

@ -5,16 +5,16 @@ set -e
if [ -n "`which opam`" ]
then
if [ -n "`opam --version | grep -P "2\..\.."`" ]
if [ -n "`opam --version | grep -P "2\..\.."`" ]
then
echo "Opam 2.x seems to already exist, exiting..."
exit 1
echo "Opam 2.x seems to already exist, exiting..."
exit 1
else
read -p "This script will upgrade opam to the 2.x series, are you okay with that? (y/n)" choice1
case "$choice1" in
y|Y ) : ;;
n|N ) exit ;;
esac
read -p "This script will upgrade opam to the 2.x series, are you okay with that? (y/n)" choice1
case "$choice1" in
y|Y ) : ;;
n|N ) exit ;;
esac
fi
fi
@ -24,24 +24,22 @@ then
sudo pacman -Sy --noconfirm \
make \
m4 \
gcc \
patch \
bubblewrap \
rsync \
curl
curl
fi
if [ -n "`uname -a | grep -i ubuntu`" ]
then
sudo apt-get install -y make \
m4 \
gcc \
patch \
bubblewrap \
rsync \
curl
curl
fi
if [ -n "`uname -a | grep -i ubuntu`" ]
then
echo "ubuntu"
@ -84,10 +82,8 @@ else
echo "(If you actually get this message, you should probably file an issue)"
echo "https://gitlab.com/ligolang/ligo/issues"
exit 1
fi
fi
fi
fi
opam init -a --bare