chmod +x test.sh
docker run -it --rm -v $PWD:/workspace ubuntu:20.04
apt-get update
DEBIAN_FRONTEND=noninteractive apt-get install -y singular-ui
cd /workspace
time ./test.sh
The above commands can also be used with Ubuntu 20.04 and 22.04 by simply changing the version number.
docker run -it --rm -v $PWD:/workspace ubuntu:20.04
apt-get update
DEBIAN_FRONTEND=noninteractive apt-get install -y gnupg wget
wget ftp://jim.mathematik.uni-kl.de/repo/extra/gpg
apt-key add gpg
echo 'deb ftp://jim.mathematik.uni-kl.de/repo/ubuntu20 focal main' >>/etc/apt/sources.list
echo 'Dir::Bin::Methods::ftp "ftp";' >>/etc/apt/apt.conf.d/99local-ftp
apt-get update
DEBIAN_FRONTEND=noninteractive apt-get install -y singular41
cd /workspace
time ./test.sh
sed -i 's/^N=100$/N=1000/' test.sh