minideb icon indicating copy to clipboard operation
minideb copied to clipboard

how to reliably set timezone on minideb images?

Open sido420 opened this issue 5 years ago • 1 comments

How to reliably set timezone on minideb images? Please provide an example for UTC.

Is there a universal method that works on all images?

Is tzdata required?

sido420 avatar Nov 30 '18 14:11 sido420

I use this command in my Dockerfile: ... RUN echo "Asia/Hongkong" > /etc/timezone &&
dpkg-reconfigure -f noninteractive tzdata ....

DavidSche avatar Apr 16 '19 01:04 DavidSche