Add build.sh
This commit is contained in:
parent
e840ea3554
commit
0b6d1787d1
1 changed files with 14 additions and 0 deletions
14
build.sh
Normal file
14
build.sh
Normal file
|
|
@ -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}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue