minideb
minideb copied to clipboard
how to reliably set timezone on minideb images?
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?
I use this command in my Dockerfile:
...
RUN echo "Asia/Hongkong" > /etc/timezone &&
dpkg-reconfigure -f noninteractive tzdata
....