added fabric to images

This commit is contained in:
2025-05-09 17:02:38 +03:00
parent 2bc49fa2e0
commit 56f2e78d23
3 changed files with 25 additions and 0 deletions

6
minecraft/fabric/create.sh Executable file
View File

@@ -0,0 +1,6 @@
#!/bin/sh
if [[ -z $VERSION ]] ;
then
VERSION=$(curl https://api.papermc.io/v2/projects/paper | jq -r .versions\[-1\]);
fi;
docker build --label type=GAME -t "minecraft:paper-$VERSION" . --build-arg VERSION=$VERSION