<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Kuzunoha-NE</author_name>
  <author_url>https://blog.hatena.ne.jp/Kuzunoha-NE/</author_url>
  <blog_title>Kuzunoha-NEのブログ</blog_title>
  <blog_url>https://kuzunoha-ne.hateblo.jp/</blog_url>
  <categories>
  </categories>
  <description>こんばんは、葛の葉です。 DockerfileでFROMに対する変数を入れることで、色々使いまわせます。 docs.docker.com DockerComposeのargsを使えばこんなこともできます。 ファイル構成 . ├── Dockerfile └── docker-compose.yml Dockerfile ARG Ver FROM python:$Ver docker-compose.yml version: '3' services: test_app: build: context: ./ args: Ver: &quot;3.7.3&quot; command: python --versio…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkuzunoha-ne.hateblo.jp%2Fentry%2F2019%2F06%2F14%2F090000&quot; title=&quot;【DockerCompose】DockerfileのFROMに使える変数の設定 - Kuzunoha-NEのブログ&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-06-14 09:00:00</published>
  <title>【DockerCompose】DockerfileのFROMに使える変数の設定</title>
  <type>rich</type>
  <url>https://kuzunoha-ne.hateblo.jp/entry/2019/06/14/090000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
