bump debian version
This commit is contained in:
parent
44936966d6
commit
3d474e4242
@ -1,5 +1,5 @@
|
||||
#Download base image debian 11
|
||||
FROM debian:bullseye
|
||||
#Download base image debian 12
|
||||
FROM debian:bookworm
|
||||
|
||||
# environment variables
|
||||
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
|
Loading…
Reference in New Issue
Block a user