Skip to content

Commit

Permalink
Update the default timezone to GMT
Browse files Browse the repository at this point in the history
During the Ubuntu Bionic upgrade, the default timezome was set to
America/Toronto in order to install the new version of Composer. The
newer version of composer requires a timezome to bet set in order to
install.

However, the test assumes LF runs on GMT timezome image.  So, the
default timezone has been updated.

[#178471230]
  • Loading branch information
xtreme-jason-smith committed Jun 17, 2021
1 parent 1c12588 commit 9fcab84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ RUN wget -q https://packages.microsoft.com/config/ubuntu/18.04/packages-microsof
# install Composer
# The ARG and ENV are for installing tzdata which is part of this installaion.
# https://serverfault.com/questions/949991/how-to-install-tzdata-on-a-ubuntu-docker-image
ENV TZ=America/Toronto
ENV TZ=GMT
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 4F4EA0AAE5267A6C &&\
echo "deb http://ppa.launchpad.net/ondrej/php/ubuntu bionic main" | sudo tee /etc/apt/sources.list.d/php.list &&\
apt-get update &&\
Expand Down

0 comments on commit 9fcab84

Please sign in to comment.