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>
This commit is contained in:
parent
7d31a64a50
commit
cee5313554
1 changed files with 3 additions and 1 deletions
|
|
@ -1,10 +1,12 @@
|
||||||
ARG UBUNTU_VERSION=22.04 # lts
|
ARG UBUNTU_VERSION=22.04 # lts
|
||||||
ARG TZ=Etc/UTC
|
|
||||||
|
|
||||||
# This target lays out the general directory skeleton for AzerothCore,
|
# This target lays out the general directory skeleton for AzerothCore,
|
||||||
# This target isn't intended to be directly used
|
# This target isn't intended to be directly used
|
||||||
FROM ubuntu:$UBUNTU_VERSION AS skeleton
|
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 DOCKER=1
|
||||||
ARG DEBIAN_FRONTEND=noninteractive
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue