removed the need for password for user

This commit is contained in:
ACoolName 2023-12-28 01:08:12 +02:00
parent 268cf9867d
commit 2ae1d28f45

View File

@ -1,7 +1,7 @@
#!/bin/zsh
#!/bin/sh
if [[ -z $VERSION ]] ;
then
VERSION=$(curl https://api.papermc.io/v2/projects/paper | \
jq -r .versions[-1]);
then
VERSION=$(curl https://api.papermc.io/v2/projects/paper | jq -r .versions\[-1\]);
fi;
docker build -t minecraft:paper-${VERSION} . --build-arg VERSION=${VERSION}
docker build -t "minecraft:paper-$VERSION" . --build-arg VERSION=$VERSION
echo version=$VERSION