bump debian version
This commit is contained in:
		| @@ -1,5 +1,5 @@ | |||||||
| #Download base image debian 11 | #Download base image debian 12 | ||||||
| FROM debian:bullseye | FROM debian:bookworm | ||||||
|  |  | ||||||
| # environment variables | # environment variables | ||||||
| ARG VERSION="Latest" | ARG VERSION="Latest" | ||||||
|   | |||||||
							
								
								
									
										8
									
								
								healthcheck.sh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								healthcheck.sh
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,8 @@ | |||||||
|  | #!/bin/bash | ||||||
|  |  | ||||||
|  | #/bin/bash | ||||||
|  | STRING="<?xml version=\"1.0\" encoding=\"UTF-8\"?><methodCall><methodName>GetStatus</methodName><params></params></methodCall>" | ||||||
|  | LENGTH=$(printf "%s" "$STRING" | wc -c) | ||||||
|  | HEADER=$(printf "`printf '%s%08x' "0x80000000" "$LENGTH" `" | tac -rs ..) | ||||||
|  | RESULT=$(echo "$HEADER"| xxd -p -r) | ||||||
|  | echo -n $RESULT $STRING | nc -w1 localhost 5000 | ||||||
		Reference in New Issue
	
	Block a user