Created
August 7, 2022 09:01
-
-
Save gh640/5fc3dde29881cb46ec78cc608f956ec7 to your computer and use it in GitHub Desktop.
サンプル: Docker の `ubuntu:20.04` イメージでタイムゾーンを JST に変更する
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM ubuntu:20.04 | |
| RUN apt-get update && \ | |
| DEBIAN_FRONTEND=noninteractive apt-get install -y tzdata && \ | |
| rm -rf /var/lib/apt/lists/* /var/cache/apt/* | |
| RUN ln -sf /usr/share/zoneinfo/Asia/Tokyo /etc/localtime && \ | |
| dpkg-reconfigure --frontend noninteractive tzdata |
Author
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ubuntu:22.04の場合も同じです。