Skip to content

Commit

Permalink
[5.x] Add timezone data to the alpine variants (#126)
Browse files Browse the repository at this point in the history
  • Loading branch information
shinsenter authored Aug 20, 2024
1 parent ff8de6f commit 05db1f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/php/common/docker-php-entrypoint
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ mkdir -p "$APP_PATH"
export TZ="${TZ:=UTC}"
if [ ! -z "$TZ" ] && [ -e /usr/share/zoneinfo/$TZ ]; then
ln -nsf /usr/share/zoneinfo/$TZ /etc/localtime
echo $TZ >/etc/timezone
fi

# activity logging
Expand Down
2 changes: 1 addition & 1 deletion src/php/common/os-base.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ set -e
chmod 4755 $(which autorun) /usr/local/sbin/web-*

# install common packages
APK_PACKAGES='run-parts shadow su-exec tar unzip xz' \
APK_PACKAGES='run-parts shadow su-exec tar tzdata unzip xz' \
APT_PACKAGES='procps xz-utils' \
pkg-add bash ca-certificates coreutils curl htop less openssl
pkg-add upgrade
Expand Down

0 comments on commit 05db1f7

Please sign in to comment.