markhobson / docker-maven-chrome

Docker image for Java automated UI tests.
https://hub.docker.com/r/markhobson/maven-chrome/
Apache License 2.0
97 stars 81 forks source link

Can't use the custom timezone. It takes UTC by default #8

Closed Bhavik1191 closed 5 years ago

Bhavik1191 commented 5 years ago

Hi, I want to change the timezone for this docker image.

I am using below line of code in the docker file but it still takes UTC every time.

RUN cd /usr/share/zoneinfo RUN cp -f /usr/share/zoneinfo/Asia/Kolkata /etc/localtime

And in bitbucket pipeline when I use the date command to verify timezone, it gives me IST timezone which is expected. But in from my application when I use chrome it will take UTC timezone.