From 3f869ae853423695ff001107f5238f38a4beb1cf Mon Sep 17 00:00:00 2001 From: tobitege Date: Wed, 19 Jun 2024 08:07:57 +0200 Subject: [PATCH] default timezone in build (#2513) --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index e1b3b4dae0..6c04c7ff78 100644 --- a/Makefile +++ b/Makefile @@ -131,6 +131,10 @@ pull-docker-image: install-python-dependencies: @echo "$(GREEN)Installing Python dependencies...$(RESET)" + @if [ -z "${TZ}" ]; then \ + echo "Defaulting TZ (timezone) to UTC"; \ + export TZ="UTC"; \ + fi poetry env use python$(PYTHON_VERSION) @if [ "$(shell uname)" = "Darwin" ]; then \ echo "$(BLUE)Installing chroma-hnswlib...$(RESET)"; \