<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>takuya_1st</author_name>
  <author_url>https://blog.hatena.ne.jp/takuya_1st/</author_url>
  <blog_title>それマグで！</blog_title>
  <blog_url>https://takuya-1st.hatenablog.jp/</blog_url>
  <categories>
    <anon>docker</anon>
    <anon>proxy</anon>
    <anon>apt-cacher</anon>
  </categories>
  <description>docker build で apt installを高速化 docker build で毎回ダウンロードが公式レポジトリから行われるのが、心苦しい。 無駄な通信が発生している。そして何より遅い ビルド例 export APT_HTTP_PROXY=http://192.168.2.21:3142 docker build --build-arg APT_HTTP_PROXY=${APT_HTTP_PROXY} -t sample . Dockerfileの例 dockerfile で次のように記述すればいい。 FROM ubuntu:20.04 ENV DEBCONF_NOWARNINGS=…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftakuya-1st.hatenablog.jp%2Fentry%2F2024%2F08%2F23%2F153917&quot; title=&quot;dockerfileでAPTプロキシとシェル変数を渡す例。 - それマグで！&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>2024-08-23 15:39:17</published>
  <title>dockerfileでAPTプロキシとシェル変数を渡す例。</title>
  <type>rich</type>
  <url>https://takuya-1st.hatenablog.jp/entry/2024/08/23/153917</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
