mirror of
https://gitcode.com/GitHub_Trending/az/azerothcore-wotlk.git
synced 2026-10-10 07:06:38 +08:00
fix(apps/docker): put TZ ARG after FROM to be correctly applied (#22600)
Co-authored-by: Jesper Saxtorph <[email protected]> Co-authored-by: Copilot <[email protected]>
This commit is contained in:
co-authored by
Jesper Saxtorph
Copilot
parent
7d31a64a50
commit
cee5313554
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user