Skip to content

Instantly share code, notes, and snippets.

@ryanhanwu
Last active January 16, 2020 18:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ryanhanwu/00bda4623521342bb79bac3c5ce86601 to your computer and use it in GitHub Desktop.
Save ryanhanwu/00bda4623521342bb79bac3c5ce86601 to your computer and use it in GitHub Desktop.
Set #docker timezone to EST
#!/bin/bash
export DEBIAN_FRONTEND=noninteractive
apt-get update && apt-get install -y tzdata
ln -fs /usr/share/zoneinfo/America/New_York /etc/localtime
dpkg-reconfigure --frontend noninteractive tzdata
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment