Initial commit

Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
This commit is contained in:
Tuan-Dat Tran
2024-12-31 13:36:22 +01:00
commit 931652c494
78 changed files with 46976 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
#!/bin/sh
# docker tag SOURCE_IMAGE[:TAG] 192.168.100.2:5000/uulm/<COMPONENT_NAME>:<VERSION>
# docker push 192.168.100.2:5000/uulm/<COMPONENT_NAME>:<VERSION>
REGISTRY="mos4"
CL_TAG=v1.3.0
REMOTE_CL_IMAGE=passive_network_monitoring
docker buildx build --platform linux/amd64,linux/arm64 -f ./docker/nmcli_default.Dockerfile -t $REGISTRY/$REMOTE_CL_IMAGE:$CL_TAG . --push
NGINX_VERSION=v1.2.2
LOCAL_NGINX_IMAGE=nginx-stream
REMOTE_NGINX_IMAGE=nginx
# docker buildx build --platform linux/amd64 -f ./docker/nginx.Dockerfile -t $REGISTRY/$REMOTE_NGINX_IMAGE:$NGINX_VERSION --push .
docker build -f ./docker/nginx.Dockerfile -t $LOCAL_NGINX_IMAGE .
docker tag $LOCAL_NGINX_IMAGE $REGISTRY/$REMOTE_NGINX_IMAGE:$NGINX_VERSION
docker push $REGISTRY/$REMOTE_NGINX_IMAGE:$NGINX_VERSION