get connected to temporal

This commit is contained in:
Grant Limberg 2023-08-29 12:19:28 -07:00
parent 69c590ff81
commit d865c42ef8
No known key found for this signature in database
GPG key ID: 8F2F97D3BE8D7735
5 changed files with 30 additions and 4 deletions

View file

@ -11,4 +11,5 @@ RUN apt -y install \
binutils \
linux-tools-gke \
perf-tools-unstable \
google-perftools
google-perftools \
netcat

View file

@ -100,6 +100,13 @@ else
done
fi
echo "Waiting for temporal"
while ! nc -z ${ZT_TEMPORAL_HOST} ${ZTC_TEMPORAL_PORT}; do
echo "waiting...";
sleep 1;
done
echo "Temporal is up"
export GLIBCXX_FORCE_NEW=1
export GLIBCPP_FORCE_NEW=1
export LD_PRELOAD="/usr/lib/x86_64-linux-gnu/libjemalloc.so.2"