From cee5313554884eacb27793811ddb7b15049b9374 Mon Sep 17 00:00:00 2001 From: j-sax Date: Wed, 6 Aug 2025 12:08:47 +0200 Subject: [PATCH] fix(apps/docker): put TZ ARG after FROM to be correctly applied (#22600) Co-authored-by: Jesper Saxtorph Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- apps/docker/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/docker/Dockerfile b/apps/docker/Dockerfile index e003ae875..0fdee45ce 100644 --- a/apps/docker/Dockerfile +++ b/apps/docker/Dockerfile @@ -1,10 +1,12 @@ ARG UBUNTU_VERSION=22.04 # lts -ARG TZ=Etc/UTC # This target lays out the general directory skeleton for AzerothCore, # This target isn't intended to be directly used FROM ubuntu:$UBUNTU_VERSION AS skeleton +# Note: ARG instructions defined after FROM are available in this build stage. +# Placing ARG TZ here (after FROM) ensures it is accessible for configuring the timezone below. +ARG TZ=Etc/UTC ARG DOCKER=1 ARG DEBIAN_FRONTEND=noninteractive