fix: 🐛 Actually use bash for entrypoint

This commit is contained in:
Radek Goláň jr. 2024-08-25 21:42:57 +02:00
parent 5ec1b7a8cb
commit acfd3651d6
Signed by: shield
GPG Key ID: D86423BFC31F3591

View File

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
set -ex
@ -13,7 +13,7 @@ else
MEMLIMIT=$(grep MemTotal /proc/meminfo | awk '{print $2 * 1024}')
fi
if ! [[ "$MEMLIMIT" =~ ^[0-9]+$ ]]; then
if [[ $MEMLIMIT =~ ^[0-9]+$ ]]; then
MEMLIMIT=$MEMSIZE
fi