From 0b6d1787d11d6b1b37911ee791d0ccfb017fe110 Mon Sep 17 00:00:00 2001 From: Blackwhitebear8 Date: Sat, 23 Nov 2024 19:44:26 +0100 Subject: [PATCH] Add build.sh --- build.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 build.sh diff --git a/build.sh b/build.sh new file mode 100644 index 0000000..5d3d222 --- /dev/null +++ b/build.sh @@ -0,0 +1,14 @@ +#!/bin/bash + +# Zorg ervoor dat je naar de juiste directory gaat +cd /opt/kasmos-custom + +# Zet de naam en tag voor je Docker image +IMAGE_NAME="blackwhitebear8/kasmos-custom" +IMAGE_TAG="latest" + +# Bouw het Docker image +docker build -t ${IMAGE_NAME}:${IMAGE_TAG} . + +# Optioneel: Als je het image automatisch wil pushen naar een Docker registry +docker push ${IMAGE_NAME}:${IMAGE_TAG} \ No newline at end of file