<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>pinkumohikan</author_name>
  <author_url>https://blog.hatena.ne.jp/pinkumohikan/</author_url>
  <blog_title>モヒカンメモ</blog_title>
  <blog_url>https://blog.pinkumohikan.com/</blog_url>
  <categories>
    <anon>AlpineLinux</anon>
    <anon>Docker</anon>
    <anon>エンジニアリング</anon>
  </categories>
  <description>なぜやるか dockerで良く使われる軽量イメージalpineは、デフォルトtimezoneがUTCになっており、Asia/Tokyo (JST) に設定しないと日本時間から9時間ずれてしまう。 どうやるか Dockerfileに下記のように記せばOK FROM alpine:latest RUN apk --no-cache add tzdata &amp;&amp; \ cp /usr/share/zoneinfo/Asia/Tokyo /etc/localtime &amp;&amp; \ apk del tzdata するとほら、この通り $ docker build . -t alpine-jst Sending …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.pinkumohikan.com%2Fentry%2Fset-timezone-to-asia-tokyo-on-docker-alpine-linux&quot; title=&quot;docker alpineイメージでtimezoneをAsia/Tokyoに設定する - モヒカンメモ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn.user.blog.st-hatena.com/default_entry_og_image/129139705/1541158876672457</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-07-12 07:53:40</published>
  <title>docker alpineイメージでtimezoneをAsia/Tokyoに設定する</title>
  <type>rich</type>
  <url>https://blog.pinkumohikan.com/entry/set-timezone-to-asia-tokyo-on-docker-alpine-linux</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
