summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorj-sax <github.sax@manware.dk>2025-08-06 12:08:47 +0200
committerGitHub <noreply@github.com>2025-08-06 12:08:47 +0200
commitcee5313554884eacb27793811ddb7b15049b9374 (patch)
treed02d74733449a259aa311760a51ff6ab8451cd09 /apps
parent7d31a64a50692fbdc0dc78798a437553040196f2 (diff)
fix(apps/docker): put TZ ARG after FROM to be correctly applied (#22600)
Co-authored-by: Jesper Saxtorph <gitforgot.sax@manware.dk> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Diffstat (limited to 'apps')
-rw-r--r--apps/docker/Dockerfile4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/docker/Dockerfile b/apps/docker/Dockerfile
index e003ae875d..0fdee45ceb 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