add helper to build images

This commit is contained in:
☙◦ The Tablet ❀ GamerGirlandCo ◦❧ 2025-10-29 15:13:37 -04:00
parent 746d541df7
commit bb47f4ee21
Signed by: tablet
GPG Key ID: 924A5F6AF051E87C
2 changed files with 10 additions and 0 deletions

3
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,3 @@
{
"nuxt.isNuxtApp": false
}

7
build.sh Normal file
View File

@ -0,0 +1,7 @@
#!/bin/bash
IMAGE=${IMAGE:-"thealmightydrawingtablet/nfs-krb"}
VERSION=$(git for-each-ref refs/tags --sort=-taggerdate --format='%(refname:short)' --count=1)
docker build --progress=plain -t "${IMAGE}:alpine" -t "${IMAGE}:${VERSION}-alpine" .
docker build --progress=plain -t "${IMAGE}:ubuntu" -t "${IMAGE}:${VERSION}-ubuntu" -f ./Dockerfile.ubuntu .