{"id":28678,"date":"2019-07-05T10:00:49","date_gmt":"2019-07-05T01:00:49","guid":{"rendered":"https:\/\/www.creationline.com\/?p=28678"},"modified":"2019-07-04T17:45:47","modified_gmt":"2019-07-04T08:45:47","slug":"dockerfile%e3%81%a3%e3%81%a6%e3%81%a9%e3%81%86%e6%9b%b8%e3%81%91%e3%81%b0%e3%81%84%e3%81%84%e3%81%ae%ef%bc%9f-%e6%9b%b8%e3%81%8d%e6%96%b9%e3%83%99%e3%82%b9%e3%83%88%e3%83%97%e3%83%a9%e3%82%af%e3%83%86","status":"publish","type":"post","link":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/docker\/28678","title":{"rendered":"Dockerfile\u3063\u3066\u3069\u3046\u66f8\u3051\u3070\u3044\u3044\u306e\uff1f \u66f8\u304d\u65b9\u30d9\u30b9\u30c8\u30d7\u30e9\u30af\u30c6\u30a3\u30b9 #docker"},"content":{"rendered":"<p>\u4eca\u65e5\u3001GitHub\u306b\u306f100\u4e07\u3092\u8d8a\u3048\u308b<a href=\"https:\/\/docs.docker.com\/engine\/reference\/builder\/\">Dockerfile<\/a>\u304c\u3042\u308a\u307e\u3059\u304c\u3001\u305d\u306e\u3059\u3079\u3066\u304c\u5747\u4e00\u306b\u4f5c\u3089\u308c\u3066\u3044\u308b\u308f\u3051\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u52b9\u7387\u6027\u306f\u5fc5\u9808\u3067\u3059\u3002\u3053\u308c\u304b\u3089\u4e00\u9023\u306e\u30d6\u30ed\u30b0\u8a18\u4e8b\u3067\u306f\u3001\u3088\u308a\u3088\u3044Dockerfile\u3092\u66f8\u304f\u624b\u52a9\u3051\u306b\u306a\u308b\u3088\u3046\u306b\u3001\u300c\u30a4\u30f3\u30af\u30ea\u30e1\u30f3\u30bf\u30eb\u306a\u69cb\u7bc9\u6642\u9593\u300d\u300c\u30a4\u30e1\u30fc\u30b8\u30b5\u30a4\u30ba\u300d\u300c\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u6027\u300d\u300c\u5b89\u5168\u6027\u300d\u300c\u53cd\u5fa9\u6027\u300d\u3068\u3044\u30465\u3064\u306e\u5206\u91ce\u306e\u30d9\u30b9\u30c8\u30d7\u30e9\u30af\u30c6\u30a3\u30b9\u3092\u7d39\u4ecb\u3057\u3066\u3044\u304d\u307e\u3059\u3002\u3042\u306a\u305f\u304c\u3082\u3057Docker\u3092\u59cb\u3081\u305f\u3070\u304b\u308a\u306a\u3089\u3001\u3053\u306e\u8a18\u4e8b\u306f\u3042\u306a\u305f\u306b\u5411\u3051\u305f\u3082\u306e\u306b\u306a\u308a\u307e\u3059\uff01\u6b21\u306e\u8a18\u4e8b\u3067\u306f\u3001\u3088\u308a\u9ad8\u5ea6\u306a\u5185\u5bb9\u3092\u7d39\u4ecb\u3059\u308b\u4e88\u5b9a\u3067\u3059\u3002<\/p>\n<p><strong>\u91cd\u8981\u306a\u304a\u3057\u3089\u305b<\/strong>: <strong>\u3053\u308c\u304b\u3089\u4f8b\u3068\u3057\u3066\u6539\u5584\u3092\u7d9a\u3051\u3066\u3044\u304fDockerfile\u306f\u3001Maven\u30d9\u30fc\u30b9\u306eJava\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u306e\u30c6\u30a3\u30c3\u30d7\u30b9\u3067\u3059\u3002\u6700\u7d42\u7684\u306aDockerfile\u304c\u304a\u52e7\u3081\u306eDockerfile\u3067\u3001\u9014\u4e2d\u306eDockerfile\u306f\u7279\u5b9a\u306e\u30d9\u30b9\u30c8\u30d7\u30e9\u30af\u30c6\u30a3\u30b9\u3092\u8aac\u660e\u3059\u308b\u305f\u3081\u3060\u3051\u306e\u3082\u306e\u306b\u306a\u308a\u307e\u3059\u3002<\/strong><\/p>\n<h2>\u30a4\u30f3\u30af\u30ea\u30e1\u30f3\u30bf\u30eb\u306a\u69cb\u7bc9\u6642\u9593<\/h2>\n<p>\u958b\u767a\u30b5\u30a4\u30af\u30eb\u306b\u304a\u3044\u3066\u3001Docker\u30a4\u30e1\u30fc\u30b8\u3092\u69cb\u7bc9\u3057\u3001\u30b3\u30fc\u30c9\u3092\u5909\u66f4\u3057\u3001\u305d\u3057\u3066\u30a4\u30e1\u30fc\u30b8\u3092\u518d\u69cb\u7bc9\u3059\u308b\u3068\u304d\u306f\u3001\u30ad\u30e3\u30c3\u30b7\u30e5\u306e\u6d3b\u7528\u304c\u91cd\u8981\u3067\u3059\u3002\u30ad\u30e3\u30c3\u30b7\u30e5\u306f\u884c\u3046\u5fc5\u8981\u304c\u306a\u3044\u69cb\u7bc9\u624b\u9806\u306e\u518d\u5b9f\u884c\u306e\u56de\u907f\u306b\u5f79\u7acb\u3061\u307e\u3059\u3002<\/p>\n<h3>Tip#1: \u30ad\u30e3\u30c3\u30b7\u30e5\u306e\u305f\u3081\u306b\u306f\u9806\u756a\u304c\u91cd\u8981<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/07\/01-2.png\" alt=\"\" width=\"797\" height=\"353\" class=\"aligncenter size-full wp-image-28679\" srcset=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/07\/01-2.png 797w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/07\/01-2-360x159.png 360w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/07\/01-2-768x340.png 768w\" sizes=\"auto, (max-width: 797px) 100vw, 797px\" \/><\/p>\n<p>\u69cb\u7bc9\u624b\u9806\u3001\u3059\u306a\u308f\u3061Dockerfile\u306b\u66f8\u304f\u547d\u4ee4\u306e\u9806\u756a\u304c\u91cd\u8981\u3067\u3059\u3002\u306a\u305c\u306a\u3089\u3001\u3042\u308b\u624b\u9806\u306e\u30ad\u30e3\u30c3\u30b7\u30e5\u304c\u30d5\u30a1\u30a4\u30eb\u306e\u5909\u66f4\u3084Dockerfile\u5185\u306e\u6587\u5b57\u5217\u306e\u5909\u66f4\u306b\u3088\u3063\u3066\u7121\u52b9\u306b\u306a\u308b\u3068\u3001\u305d\u308c\u4ee5\u964d\u306e\u624b\u9806\u306e\u30ad\u30e3\u30c3\u30b7\u30e5\u304c\u7834\u68c4\u3055\u308c\u3066\u3057\u307e\u3046\u304b\u3089\u3067\u3059\u3002\u30ad\u30e3\u30c3\u30b7\u30e5\u3092\u6700\u9069\u5316\u3059\u308b\u306b\u306f\u3001\u5909\u66f4\u306e\u5c11\u306a\u3044\u69cb\u7bc9\u624b\u9806\u304b\u3089\u5909\u66f4\u306e\u591a\u3044\u69cb\u7bc9\u624b\u9806\u306b\u306a\u308b\u3088\u3046\u306b\u4e26\u3079\u307e\u3057\u3087\u3046\u3002<\/p>\n<h3>Tip#2: \u30ad\u30e3\u30c3\u30b7\u30e5\u7834\u68c4\u3092\u9650\u5b9a\u3059\u308b\u306b\u306f COPY \u3059\u308b\u5185\u5bb9\u3092\u53b3\u9078<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/07\/02-3.png\" alt=\"\" width=\"793\" height=\"366\" class=\"aligncenter size-full wp-image-28680\" srcset=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/07\/02-3.png 793w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/07\/02-3-360x166.png 360w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/07\/02-3-768x354.png 768w\" sizes=\"auto, (max-width: 793px) 100vw, 793px\" \/><\/p>\n<p>\u5fc5\u8981\u306a\u3082\u306e\u3060\u3051\u30b3\u30d4\u30fc\u3057\u307e\u3057\u3087\u3046\u3002\u3067\u304d\u308c\u3070 \"COPY .\" \u306f\u907f\u3051\u307e\u3057\u3087\u3046\u3002\u30a4\u30e1\u30fc\u30b8\u5185\u306b\u30d5\u30a1\u30a4\u30eb\u3092\u30b3\u30d4\u30fc\u3059\u308b\u969b\u3001\u4f55\u3092\u30b3\u30d4\u30fc\u3057\u305f\u3044\u304b\u53b3\u9078\u3057\u307e\u3057\u3087\u3046\u3002\u30b3\u30d4\u30fc\u3059\u308b\u30d5\u30a1\u30a4\u30eb\u306b\u5bfe\u3059\u308b\u5909\u66f4\u306f\u3001\u30ad\u30e3\u30c3\u30b7\u30e5\u3092\u7834\u68c4\u3057\u307e\u3059\u3002\u524d\u8ff0\u306e\u4f8b\u3067\u306f\u3001\u69cb\u7bc9\u6e08\u307f jar \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u307f\u304c\u30a4\u30e1\u30fc\u30b8\u5185\u306b\u5fc5\u8981\u306a\u306e\u3067\u3001\u305d\u308c\u3060\u3051\u30b3\u30d4\u30fc\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u3046\u3059\u308c\u3070\u3001\u7121\u95a2\u4fc2\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u5909\u66f4\u3057\u3066\u3082\u3001\u30ad\u30e3\u30c3\u30b7\u30e5\u306b\u5f71\u97ff\u3057\u307e\u305b\u3093\u3002<\/p>\n<h3>Tip#3: apt-get update &amp; install \u306e\u3088\u3046\u306a\u30ad\u30e3\u30c3\u30b7\u30e5\u53ef\u80fd\u306a\u5358\u4f4d\u306e\u7279\u5b9a<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/07\/03-2.png\" alt=\"\" width=\"791\" height=\"372\" class=\"aligncenter size-full wp-image-28681\" srcset=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/07\/03-2.png 791w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/07\/03-2-360x169.png 360w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/07\/03-2-768x361.png 768w\" sizes=\"auto, (max-width: 791px) 100vw, 791px\" \/><\/p>\n<p>\u5404 RUN \u547d\u4ee4\u306f\u3001\u5b9f\u884c\u6642\u306e\u30ad\u30e3\u30c3\u30b7\u30e5\u53ef\u80fd\u306a\u5358\u4f4d\u3068\u3057\u3066\u53d6\u308a\u6271\u308f\u308c\u307e\u3059\u3002\u591a\u3059\u304e\u308b RUN \u547d\u4ee4\u306f\u5fc5\u8981\u3042\u308a\u307e\u305b\u3093\u3002\u305f\u3060\u3057\u3001\u3059\u3079\u3066\u306e\u30b3\u30de\u30f3\u30c9\u30921\u3064\u306e RUN \u547d\u4ee4\u306b\u9023\u7d50\u3059\u308b\u3068\u30ad\u30e3\u30c3\u30b7\u30e5\u3092\u5bb9\u6613\u306b\u7834\u68c4\u3059\u308b\u3053\u3068\u306b\u306a\u308b\u305f\u3081\u3001\u958b\u767a\u30b5\u30a4\u30af\u30eb\u3092\u6bc0\u640d\u3057\u307e\u3059\u3002\u30d1\u30c3\u30b1\u30fc\u30b8\u30de\u30cd\u30fc\u30b8\u30e3\u304b\u3089\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u969b\u3001\u5e38\u306b\u540c\u3058 RUN\u547d\u4ee4\u3067\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u306e\u66f4\u65b0\u3068\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u884c\u3044\u307e\u3057\u3087\u3046\u3002\u3053\u308c\u3089\u306f1\u3064\u306e\u30ad\u30e3\u30c3\u30b7\u30e5\u53ef\u80fd\u306a\u5358\u4f4d\u306b\u307e\u3068\u307e\u308a\u307e\u3059\u3002\u3055\u3082\u306a\u3044\u3068\u3001\u53e4\u3044\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3057\u307e\u3046\u5371\u967a\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<h2>\u30a4\u30e1\u30fc\u30b8\u30b5\u30a4\u30ba\u306e\u524a\u6e1b<\/h2>\n<p>\u30a4\u30e1\u30fc\u30b8\u30b5\u30a4\u30ba\u306f\u91cd\u8981\u3067\u3059\u3002\u3088\u308a\u5c0f\u3055\u306a\u30a4\u30e1\u30fc\u30b8\u306f\u3001\u958b\u767a\u3092\u3088\u308a\u65e9\u304f\u3057\u3001\u653b\u6483\u306b\u6652\u3055\u308c\u308b\u90e8\u5206\u3092\u3088\u308a\u5c0f\u3055\u304f\u3059\u308b\u3053\u3068\u3068\u540c\u3058\u3060\u304b\u3089\u3067\u3059\u3002<\/p>\n<h3>Tip#4: \u4e0d\u8981\u306a\u4f9d\u5b58\u95a2\u4fc2\u306e\u524a\u9664<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/07\/04-1.png\" alt=\"\" width=\"793\" height=\"274\" class=\"aligncenter size-full wp-image-28682\" srcset=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/07\/04-1.png 793w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/07\/04-1-360x124.png 360w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/07\/04-1-768x265.png 768w\" sizes=\"auto, (max-width: 793px) 100vw, 793px\" \/><\/p>\n<p>\u4e0d\u8981\u306a\u4f9d\u5b58\u95a2\u4fc2\u3092\u524a\u9664\u3057\u3001\u30c7\u30d0\u30c3\u30b0\u30c4\u30fc\u30eb\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u3084\u3081\u307e\u3057\u3087\u3046\u3002\u3082\u3057\u30c7\u30d0\u30c3\u30b0\u30c4\u30fc\u30eb\u304c\u5fc5\u8981\u306a\u3089\u3001\u5927\u62b5\u306e\u5834\u5408\u3001\u5f8c\u304b\u3089\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u307e\u3059\u3002apt \u306e\u3088\u3046\u306a\u30d1\u30c3\u30b1\u30fc\u30b8\u30de\u30cd\u30fc\u30b8\u30e3\u306f\u3001\u3042\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u306b\u3088\u3063\u3066\u63a8\u5968\u3055\u308c\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u3082\u81ea\u52d5\u7684\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3057\u307e\u3046\u306e\u3067\u3001\u4e0d\u8981\u306a\u30d5\u30c3\u30c8\u30d7\u30ea\u30f3\u30c8\u306e\u5897\u5927\u3092\u62db\u304d\u307e\u3059\u3002apt \u306b\u306f --no-install-recommends \u3068\u3044\u3046\u3001\u6307\u5b9a\u3057\u305f\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u5b9f\u969b\u306b\u5fc5\u8981\u3068\u3059\u308b\u4f9d\u5b58\u95a2\u4fc2\u306e\u307f\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u30d5\u30e9\u30b0\u304c\u3042\u308a\u307e\u3059\u3002\u3082\u3057\u5fc5\u8981\u306a\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u3042\u308b\u306a\u3089\u3001\u660e\u793a\u7684\u306b\u6307\u5b9a\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<h3>Tip#5: \u30d1\u30c3\u30b1\u30fc\u30b8\u30de\u30cd\u30fc\u30b8\u30e3\u306e\u30ad\u30e3\u30c3\u30b7\u30e5\u306e\u524a\u9664<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/07\/05.png\" alt=\"\" width=\"795\" height=\"364\" class=\"aligncenter size-full wp-image-28683\" srcset=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/07\/05.png 795w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/07\/05-360x165.png 360w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/07\/05-768x352.png 768w\" sizes=\"auto, (max-width: 795px) 100vw, 795px\" \/><\/p>\n<p>\u30d1\u30c3\u30b1\u30fc\u30b8\u30de\u30cd\u30fc\u30b8\u30e3\u306f\u3001\u4f5c\u6210\u3057\u305f\u81ea\u8eab\u306e\u30ad\u30e3\u30c3\u30b7\u30e5\u3092\u30a4\u30e1\u30fc\u30b8\u5185\u306b\u4fdd\u6301\u3057\u307e\u3059\u3002\u3053\u308c\u306b\u5bfe\u51e6\u3059\u308b\u65b9\u6cd5\u306e1\u3064\u306f\u3001\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3068\u30d1\u30c3\u30b1\u30fc\u30b8\u30de\u30cd\u30fc\u30b8\u30e3\u306e\u30ad\u30e3\u30c3\u30b7\u30e5\u524a\u9664\u3092\u540c\u3058 RUN \u547d\u4ee4\u3067\u884c\u3044\u307e\u3059\u3002\u5225\u306eRUN\u547d\u4ee4\u3067\u30d1\u30c3\u30b1\u30fc\u30b8\u30de\u30cd\u30fc\u30b8\u30e3\u306e\u30ad\u30e3\u30c3\u30b7\u30e5\u3092\u524a\u9664\u3057\u3066\u3082\u3001\u30a4\u30e1\u30fc\u30b8\u30b5\u30a4\u30ba\u306f\u5c0f\u3055\u304f\u306a\u308a\u307e\u305b\u3093\u3002<\/p>\n<p>\u30a4\u30e1\u30fc\u30b8\u30b5\u30a4\u30ba\u3092\u5c0f\u3055\u304f\u3059\u308b\u3055\u3089\u306a\u308b\u65b9\u6cd5\u3068\u3057\u3066\u3001\u300c\u30de\u30eb\u30c1\u30b9\u30c6\u30fc\u30b8\u30d3\u30eb\u30c9\u300d\u3092\u3053\u306e\u30d6\u30ed\u30b0\u8a18\u4e8b\u306e\u6700\u5f8c\u306b\u7d39\u4ecb\u3057\u307e\u3059\u3002\u6b21\u306e\u30d9\u30b9\u30c8\u30d7\u30e9\u30af\u30c6\u30a3\u30b9\u3067\u306f\u3001Dockerfile\u306e\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u6027\u30fb\u5b89\u5168\u6027\u30fb\u53cd\u5fa9\u6027\u3092\u6700\u9069\u5316\u3059\u308b\u65b9\u6cd5\u3092\u898b\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<h2>\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u6027<\/h2>\n<h3>Tip#6: \u53ef\u80fd\u306a\u9650\u308a\u516c\u5f0f\u30a4\u30e1\u30fc\u30b8\u3092\u5229\u7528<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/07\/06.png\" alt=\"\" width=\"795\" height=\"287\" class=\"aligncenter size-full wp-image-28684\" srcset=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/07\/06.png 795w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/07\/06-360x130.png 360w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/07\/06-768x277.png 768w\" sizes=\"auto, (max-width: 795px) 100vw, 795px\" \/><\/p>\n<p>\u516c\u5f0f\u30a4\u30e1\u30fc\u30b8\u306f\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u306b\u8cbb\u3084\u3059\u6642\u9593\u3092\u5927\u5e45\u306b\u7bc0\u7d04\u3067\u304d\u307e\u3059\u3002\u306a\u305c\u306a\u3089\u3059\u3079\u3066\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u624b\u9806\u304c\u6e08\u3093\u3067\u3044\u3066\u3001\u3055\u3089\u306b\u30d9\u30b9\u30c8\u30d7\u30e9\u30af\u30c6\u30a3\u30b9\u3082\u9069\u7528\u3057\u3066\u3044\u308b\u304b\u3089\u3067\u3059\u3002\u8907\u6570\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u304c\u3042\u308b\u5834\u5408\u3001\u307e\u3063\u305f\u304f\u540c\u3058\u30d9\u30fc\u30b9\u30a4\u30e1\u30fc\u30b8\u3092\u4f7f\u3063\u3066\u3044\u308b\u306e\u3067\u3001\u305d\u308c\u3089\u306e\u30ec\u30a4\u30e4\u30fc\u3092\u5171\u6709\u3067\u304d\u307e\u3059\u3002<\/p>\n<h3>Tip#7: \u3088\u308a\u9650\u5b9a\u7684\u306a\u30bf\u30b0\u306e\u5229\u7528<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/07\/07.png\" alt=\"\" width=\"797\" height=\"356\" class=\"aligncenter size-full wp-image-28685\" srcset=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/07\/07.png 797w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/07\/07-360x161.png 360w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/07\/07-768x343.png 768w\" sizes=\"auto, (max-width: 797px) 100vw, 797px\" \/><\/p>\n<p>latest\u30bf\u30b0\u3092\u4f7f\u3046\u306e\u306f\u3001\u3084\u3081\u307e\u3057\u3087\u3046\u3002Docker Hub\u306b\u3042\u308b\u516c\u5f0f\u30a4\u30e1\u30fc\u30b8\u306f\u5229\u4fbf\u6027\u306e\u305f\u3081\u306b\u5e38\u306blatest\u30bf\u30b0\u304c\u4ed8\u3044\u3066\u3044\u307e\u3059\u304c\u3001\u305d\u306e\u3046\u3061\u7834\u58ca\u7684\u306a\u5909\u66f4\u304c\u52a0\u3048\u3089\u308c\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002\u30ad\u30e3\u30c3\u30b7\u30e5\u306a\u3057\u3067Dockerfile\u3092\u518d\u69cb\u7bc9\u3059\u308b\u5834\u5408\u3001\u3069\u306e\u304f\u3089\u3044\u306e\u6642\u9593\u304c\u7d4c\u3063\u3066\u3044\u308b\u304b\u306b\u3088\u3063\u3066\u3001\u69cb\u7bc9\u306b\u5931\u6557\u3059\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n<p>\u4ee3\u308f\u308a\u306b\u3001\u30d9\u30fc\u30b9\u30a4\u30e1\u30fc\u30b8\u306b\u306f\u3088\u308a\u9650\u5b9a\u7684\u306a\u30bf\u30b0\u3092\u4f7f\u3044\u307e\u3057\u3087\u3046\u3002\u3053\u3053\u3067\u306f openjdk \u3092\u4f7f\u3063\u3066\u3044\u307e\u3059\u3002\u3068\u3066\u3082\u591a\u304f\u306e\u30bf\u30b0\u304c\u3042\u308b\u306e\u3067\u3001\u3053\u306e\u30a4\u30e1\u30fc\u30b8\u306e\u65e2\u5b58\u306e\u30d0\u30ea\u30a2\u30f3\u30c8\u3059\u3079\u3066\u3092\u4e00\u89a7\u8868\u793a\u3059\u308b<a href=\"https:\/\/hub.docker.com\/_\/openjdk\">Docker Hub\u306e\u8aac\u660e\u6587<\/a> \u3092\u78ba\u8a8d\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<h3>Tip#8: \u6700\u5c0f\u306e\u30d5\u30ec\u30fc\u30d0\u30fc\u3092\u63a2\u3059<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/07\/08.png\" alt=\"\" width=\"793\" height=\"352\" class=\"aligncenter size-full wp-image-28686\" srcset=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/07\/08.png 793w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/07\/08-360x160.png 360w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/07\/08-768x341.png 768w\" sizes=\"auto, (max-width: 793px) 100vw, 793px\" \/><\/p>\n<p>\u3044\u304f\u3064\u304b\u306e\u30bf\u30b0\u306f\u3055\u3089\u306b\u5c0f\u3055\u306a\u30a4\u30e1\u30fc\u30b8\u3092\u610f\u5473\u3059\u308bminimal\u30d5\u30ec\u30fc\u30d0\u30fc\u3092\u6301\u3063\u3066\u3044\u307e\u3059\u3002slim \u30d0\u30ea\u30a2\u30f3\u30c8\u306f\u5207\u308a\u8a70\u3081\u305f Debian \u3092\u30d9\u30fc\u30b9\u3068\u3057\u3066\u304a\u308a\u3001alpine \u30d0\u30ea\u30a2\u30f3\u30c8\u306f\u3055\u3089\u306b\u5c0f\u3055\u306a Alpine Linux \u30c7\u30a3\u30b9\u30c8\u30ea\u30d3\u30e5\u30fc\u30b7\u30e7\u30f3\u30a4\u30e1\u30fc\u30b8\u3092\u30d9\u30fc\u30b9\u3068\u3057\u3066\u3044\u307e\u3059\u3002\u6ce8\u76ee\u3059\u3079\u304d\u9055\u3044\u306f\u3001debian \u306f\u4f9d\u7136\u3068\u3057\u3066GNU libc \u3092\u4f7f\u3063\u3066\u3044\u308b\u3053\u3068\u3001alpine \u306f\u3088\u308a\u5c0f\u3055\u3044\u304c\u4e92\u63db\u6027\u306e\u554f\u984c\u3092\u751f\u3058\u308b\u5834\u5408\u306e\u3042\u308b musl libc \u3092\u4f7f\u3063\u3066\u3044\u308b\u3053\u3068\u3067\u3059\u3002openjdk \u306e\u5834\u5408\u3001jre \u30d5\u30ec\u30fc\u30d0\u30fc\u306f Java \u30e9\u30f3\u30bf\u30a4\u30e0\u306e\u307f\u3092\u542b\u3093\u3067\u3044\u3066\u3001SDK \u3092\u542b\u3093\u3067\u3044\u307e\u305b\u3093\u3002\u3053\u308c\u306f\u30a4\u30e1\u30fc\u30b8\u30b5\u30a4\u30ba\u3092\u5927\u5e45\u306b\u524a\u6e1b\u3057\u307e\u3059\u3002<\/p>\n<h2>\u518d\u73fe\u6027<\/h2>\n<p>\u3053\u3053\u307e\u3067\u306e Dockerfile \u306f\u3001jar \u30a2\u30fc\u30c6\u30a3\u30d5\u30a1\u30af\u30c8\u304c\u30db\u30b9\u30c8\u4e0a\u3067\u69cb\u7bc9\u6e08\u307f\u3067\u3042\u308b\u3053\u3068\u3092\u524d\u63d0\u306b\u3057\u3066\u3044\u307e\u3057\u305f\u3002\u3053\u308c\u3067\u306f\u30b3\u30f3\u30c6\u30ca\u304c\u63d0\u4f9b\u3059\u308b\u4e00\u8cab\u6027\u306e\u3042\u308b\u74b0\u5883\u306e\u5229\u70b9\u3092\u5931\u3046\u306e\u3067\u3001\u7406\u60f3\u7684\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u4f8b\u3048\u3070\u3001\u3042\u308b Java \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u304c\u7279\u5b9a\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u306b\u4f9d\u5b58\u3057\u3066\u3044\u308b\u5834\u5408\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u69cb\u7bc9\u3059\u308b\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u4e0a\u306b\u5b58\u5728\u3059\u308b\u4e00\u8cab\u6027\u306e\u306a\u3044\u30e9\u30a4\u30d6\u30e9\u30ea\u306b\u8aa4\u3063\u3066\u4f9d\u5b58\u3057\u3066\u3057\u307e\u3046\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n<h3>Tip#9: \u4e00\u8cab\u6027\u306e\u3042\u308b\u74b0\u5883\u3067\u30bd\u30fc\u30b9\u304b\u3089\u69cb\u7bc9<\/h3>\n<p>\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u306f\u3001Docker \u30a4\u30e1\u30fc\u30b8\u3092\u69cb\u7bc9\u3059\u308b\u969b\u306e\u4fe1\u983c\u6027\u306e\u6e90\u3067\u3059\u3002Dockerfile \u306f\u5358\u306a\u308b\u9752\u5199\u771f\u3067\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/07\/09.png\" alt=\"\" width=\"793\" height=\"347\" class=\"aligncenter size-full wp-image-28687\" srcset=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/07\/09.png 793w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/07\/09-360x158.png 360w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/07\/09-768x336.png 768w\" sizes=\"auto, (max-width: 793px) 100vw, 793px\" \/><\/p>\n<p>\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u69cb\u7bc9\u306b\u5fc5\u8981\u306a\u3082\u306e\u3059\u3079\u3066\u3092\u7279\u5b9a\u3059\u308b\u3068\u3053\u308d\u304b\u3089\u59cb\u3081\u307e\u3057\u3087\u3046\u3002\u3053\u306e\u5358\u7d14\u306a Java \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306f Maven \u3068 JDK \u3092\u5fc5\u8981\u3068\u3057\u3066\u3044\u308b\u306e\u3067\u3001Docker Hub \u306b\u3042\u308b\u516c\u5f0f\u306e\u5c0f\u3055\u306a maven \u30a4\u30e1\u30fc\u30b8\u3092\u30d9\u30fc\u30b9\u3068\u3057\u307e\u3057\u3087\u3046\u3002\u4f9d\u5b58\u95a2\u4fc2\u3092\u3055\u3089\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u306a\u3089\u3001RUN \u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u308b\u306f\u305a\u3067\u3059\u3002<\/p>\n<p>\u6700\u5f8c\u306e RUN \u3067 mvn package \u3092\u4f7f\u3063\u3066 app.jar \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u751f\u6210\u3059\u308b\u305f\u3081\u306b\u5fc5\u8981\u306a\u305f\u3081\u3001pom.xml \u3068 src \u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u30b3\u30d4\u30fc\u3057\u307e\u3059\u3002(\u30a8\u30e9\u30fc\u3092\u8868\u793a\u3059\u308b\u305f\u3081\u306b -e \u30d5\u30e9\u30b0\u3092\u3001\u300c\u30d0\u30c3\u30c1\u300d\u30e2\u30fc\u30c9\u3068\u3044\u3046\u5225\u540d\u306e\u975e\u5bfe\u8a71\u30e2\u30fc\u30c9\u3067\u5b9f\u884c\u3059\u308b\u305f\u3081\u306b -B \u30d5\u30e9\u30b0\u3092\u4ed8\u4e0e\u3057\u3066\u3044\u307e\u3059)<\/p>\n<p>\u4e00\u8cab\u6027\u306e\u306a\u3044\u74b0\u5883\u3068\u3044\u3046\u554f\u984c\u3092\u89e3\u6c7a\u3057\u307e\u3057\u305f\u304c\u3001\u5225\u306e\u554f\u984c\u304c\u8d77\u304d\u307e\u3057\u305f\u3002\u30b3\u30fc\u30c9\u3092\u5909\u66f4\u3059\u308b\u3068\u6bce\u56de\u3001pom.xml \u306b\u8a18\u8f09\u3057\u305f\u3059\u3079\u3066\u306e\u4f9d\u5b58\u95a2\u4fc2\u3092\u53d6\u5f97\u3057\u3066\u3057\u307e\u3044\u307e\u3059\u3002\u6b21\u306e Tip \u306b\u9032\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<h3>Tip#10: \u5225\u306e\u624b\u9806\u3067\u4f9d\u5b58\u95a2\u4fc2\u3092\u53d6\u5f97<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/07\/10.png\" alt=\"\" width=\"796\" height=\"255\" class=\"aligncenter size-full wp-image-28688\" srcset=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/07\/10.png 796w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/07\/10-360x115.png 360w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/07\/10-768x246.png 768w\" sizes=\"auto, (max-width: 796px) 100vw, 796px\" \/><\/p>\n<p>\u5b9f\u884c\u306e\u30ad\u30e3\u30c3\u30b7\u30e5\u53ef\u80fd\u306a\u5358\u4f4d\u3068\u3044\u3046\u9762\u3067\u8003\u3048\u76f4\u3057\u3066\u307f\u308b\u3068\u3001\u3053\u306e\u4f9d\u5b58\u95a2\u4fc2\u306e\u53d6\u5f97\u3092\u5225\u306e\u30ad\u30e3\u30c3\u30b7\u30e5\u53ef\u80fd\u306a\u5358\u4f4d\u306b\u5206\u5272\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3053\u308c\u306f pom.xml \u306e\u5909\u66f4\u306e\u307f\u306b\u4f9d\u5b58\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u3001\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u306b\u306f\u4f9d\u5b58\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u305b\u3093\u30022\u3064\u306e COPY \u306e\u9593\u306e RUN \u306f\u3001Maven \u306b\u4f9d\u5b58\u95a2\u4fc2\u306e\u53d6\u5f97\u306e\u307f\u3092\u884c\u3046\u3088\u3046\u306b\u6307\u793a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u4e00\u8cab\u6027\u306e\u3042\u308b\u74b0\u5883\u3067\u69cb\u7bc9\u3059\u308b\u3053\u3068\u306b\u3088\u3063\u3066\u767a\u751f\u3057\u305f\u554f\u984c\u304c\u307e\u3060\u3042\u308a\u307e\u3059\u3002\u30a4\u30e1\u30fc\u30b8\u304c\u4ee5\u524d\u3088\u308a\u5927\u304d\u304f\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3057\u305f\u3002\u5b9f\u884c\u6642\u306b\u306f\u5fc5\u8981\u306a\u3044\u3001\u69cb\u7bc9\u6642\u306e\u4f9d\u5b58\u95a2\u4fc2\u3092\u3059\u3079\u3066\u542b\u3093\u3067\u3057\u307e\u3063\u3066\u3044\u308b\u304b\u3089\u3067\u3059\u3002<\/p>\n<h3>Tip#11: \u69cb\u7bc9\u6642\u306e\u4f9d\u5b58\u95a2\u4fc2\u3092\u524a\u9664\u3059\u308b\u30de\u30eb\u30c1\u30b9\u30c6\u30fc\u30b8\u30d3\u30eb\u30c9\u306e\u5229\u7528 (\u304a\u3059\u3059\u3081\u306eDockerfile)<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/07\/11.png\" alt=\"\" width=\"796\" height=\"354\" class=\"aligncenter size-full wp-image-28689\" srcset=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/07\/11.png 796w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/07\/11-360x160.png 360w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/07\/11-768x342.png 768w\" sizes=\"auto, (max-width: 796px) 100vw, 796px\" \/><\/p>\n<p>\u30de\u30eb\u30c1\u30b9\u30c6\u30fc\u30b8\u30d3\u30eb\u30c9\u306f\u8907\u6570\u306eFROM\u6587\u306b\u3088\u3063\u3066\u5b9f\u73fe\u3067\u304d\u307e\u3059\u3002\u5404FROM\u6587\u304c\u65b0\u3057\u3044\u30b9\u30c6\u30fc\u30b8\u3092\u958b\u59cb\u3057\u307e\u3059\u3002\u30b9\u30c6\u30fc\u30b8\u306f AS \u30ad\u30fc\u30ef\u30fc\u30c9\u306b\u3088\u3063\u3066\u540d\u524d\u3092\u3064\u3051\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3053\u3053\u3067\u306f\u5f8c\u3067\u53c2\u7167\u3059\u308b\u305f\u3081\u306b\u3001\u6700\u521d\u306e\u30b9\u30c6\u30fc\u30b8\u306b \"builder\" \u3068\u3044\u3046\u540d\u524d\u3092\u3064\u3051\u3066\u3044\u307e\u3059\u3002\u3053\u306e\u30b9\u30c6\u30fc\u30b8\u306f\u3001\u69cb\u7bc9\u7528\u306e\u4f9d\u5b58\u95a2\u4fc2\u3092\u3059\u3079\u3066\u542b\u3080\u4e00\u8cab\u6027\u306e\u3042\u308b\u74b0\u5883\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>2\u3064\u76ee\u306e\u30b9\u30c6\u30fc\u30b8\u306f\u3001\u6700\u7d42\u7684\u306a\u30a4\u30e1\u30fc\u30b8\u3092\u4f5c\u6210\u3059\u308b\u6700\u5f8c\u306e\u30b9\u30c6\u30fc\u30b8\u306b\u306a\u308a\u307e\u3059\u3002\u3053\u306e\u30b9\u30c6\u30fc\u30b8\u306f\u3001\u5b9f\u884c\u306b\u5fc5\u8981\u306a\u4f9d\u5b58\u95a2\u4fc2\u306e\u307f\u3092\u542b\u3080\u3082\u306e\u306b\u306a\u308a\u307e\u3059\u3002\u3053\u3053\u3067\u306f Alpine \u30d9\u30fc\u30b9\u306e\u6700\u5c0f\u306e JRE ( Java\u30e9\u30f3\u30bf\u30a4\u30e0 ) \u3067\u3059\u3002builder \u30b9\u30c6\u30fc\u30b8\u306f\u30ad\u30e3\u30c3\u30b7\u30e5\u3055\u308c\u307e\u3059\u304c\u3001\u6700\u7d42\u7684\u306a\u30a4\u30e1\u30fc\u30b8\u5185\u306b\u306f\u5b58\u5728\u3057\u307e\u305b\u3093\u3002\u69cb\u7bc9\u3057\u305f\u30a2\u30fc\u30c6\u30a3\u30d5\u30a1\u30af\u30c8\u3092\u6700\u7d42\u7684\u306a\u30a4\u30e1\u30fc\u30b8\u306b\u53d6\u308a\u8fbc\u3080\u305f\u3081\u306b\u306f\u3001COPY --from=\u30b9\u30c6\u30fc\u30b8\u540d \u3092\u4f7f\u3044\u307e\u3059\u3002\u3053\u3053\u3067\u306f\u3001\u30b9\u30c6\u30fc\u30b8\u540d\u306fbuilder\u3067\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/07\/12.png\" alt=\"\" width=\"797\" height=\"322\" class=\"aligncenter size-full wp-image-28690\" srcset=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/07\/12.png 797w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/07\/12-360x145.png 360w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/07\/12-768x310.png 768w\" sizes=\"auto, (max-width: 797px) 100vw, 797px\" \/><\/p>\n<p>\u30de\u30eb\u30c1\u30b9\u30c6\u30fc\u30b8\u30d3\u30eb\u30c9\u306f\u3001\u69cb\u7bc9\u6642\u306e\u4f9d\u5b58\u95a2\u4fc2\u3092\u524a\u9664\u3059\u308b\u305f\u3081\u306e\u983c\u308c\u308b\u624b\u6cd5\u3067\u3059\u3002<\/p>\n<p>\u4e00\u8cab\u6027\u306e\u306a\u3044\u5de8\u5927\u306a\u30a4\u30e1\u30fc\u30b8\u3092\u69cb\u7bc9\u3059\u308b\u3053\u3068\u304b\u3089\u3001\u30ad\u30e3\u30c3\u30b7\u30e5\u3092\u6709\u52b9\u6d3b\u7528\u3057\u3064\u3064\u4e00\u8cab\u3057\u305f\u74b0\u5883\u3067\u5c0f\u3055\u306a\u30a4\u30e1\u30fc\u30b8\u3092\u69cb\u7bc9\u3059\u308b\u3053\u3068\u306b\u8ee2\u63db\u3057\u307e\u3057\u305f\u3002\u6b21\u306e\u30d6\u30ed\u30b0\u8a18\u4e8b\u3067\u306f\u3001\u30de\u30eb\u30c1\u30b9\u30c6\u30fc\u30b8\u30d3\u30eb\u30c9\u306e\u5225\u306e\u4f7f\u3044\u65b9\u3092\u6398\u308a\u4e0b\u3052\u3066\u307f\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u8ffd\u52a0\u60c5\u5831:<\/p>\n<ul>\n<li><a href=\"https:\/\/www.docker.com\/dockercon\/2019-videos?watch=dockerfile-best-practices\">DockerCon\u306e\u9332\u753b: Dockerfile Best Practices<\/a><\/li>\n<li><a href=\"https:\/\/drive.google.com\/file\/d\/16t_-DRTohzyVPJy6Cx8a3PxLQ-95CfYK\/view\">DockerCon\u306e\u30b9\u30e9\u30a4\u30c9: Dockerfile Best Practices<\/a><\/li>\n<li><a href=\"https:\/\/docs.docker.com\/engine\/reference\/builder\/\">Docker Docs: Dockerfile References<\/a><\/li>\n<\/ul>\n<hr \/>\n<p>\u539f\u6587: <a href=\"https:\/\/blog.docker.com\/2019\/07\/intro-guide-to-dockerfile-best-practices\/\">Intro Guide to Dockerfile Best Practices<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4eca\u65e5\u3001GitHub\u306b\u306f100\u4e07\u3092\u8d8a\u3048\u308bDockerfile\u304c\u3042\u308a\u307e\u3059\u304c\u3001\u305d\u306e\u3059\u3079\u3066\u304c\u5747\u4e00\u306b\u4f5c\u3089\u308c\u3066\u3044\u308b\u308f\u3051\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u52b9\u7387\u6027\u306f\u5fc5\u9808\u3067\u3059\u3002\u3053\u308c\u304b\u3089\u4e00\u9023\u306e\u30d6\u30ed\u30b0\u8a18\u4e8b\u3067\u306f\u3001\u3088\u308a\u3088\u3044Dockerfile\u3092\u66f8\u304f\u624b\u52a9\u3051\u306b\u306a\u308b\u3088\u3046 [&#8230;]<\/p>\n","protected":false},"author":2,"featured_media":28690,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"content-type":"","footnotes":""},"categories":[43],"tags":[],"class_list":["post-28678","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-docker"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Dockerfile\u3063\u3066\u3069\u3046\u66f8\u3051\u3070\u3044\u3044\u306e\uff1f \u66f8\u304d\u65b9\u30d9\u30b9\u30c8\u30d7\u30e9\u30af\u30c6\u30a3\u30b9 #docker - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3<\/title>\n<meta name=\"description\" content=\"Docker |\u4eca\u65e5\u3001GitHub\u306b\u306f100\u4e07\u3092\u8d8a\u3048\u308bDockerfile\u304c\u3042\u308a\u307e\u3059\u304c\u3001\u305d\u306e\u3059\u3079\u3066\u304c\u5747\u4e00\u306b\u4f5c\u3089\u308c\u3066\u3044\u308b\u308f\u3051\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u52b9\u7387\u6027\u306f\u5fc5\u9808\u3067\u3059\u3002\u3053\u308c\u304b\u3089\u4e00\u9023\u306e\u30d6\u30ed\u30b0\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/docker\/28678\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Dockerfile\u3063\u3066\u3069\u3046\u66f8\u3051\u3070\u3044\u3044\u306e\uff1f \u66f8\u304d\u65b9\u30d9\u30b9\u30c8\u30d7\u30e9\u30af\u30c6\u30a3\u30b9 #docker - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\" \/>\n<meta property=\"og:description\" content=\"Docker |\u4eca\u65e5\u3001GitHub\u306b\u306f100\u4e07\u3092\u8d8a\u3048\u308bDockerfile\u304c\u3042\u308a\u307e\u3059\u304c\u3001\u305d\u306e\u3059\u3079\u3066\u304c\u5747\u4e00\u306b\u4f5c\u3089\u308c\u3066\u3044\u308b\u308f\u3051\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u52b9\u7387\u6027\u306f\u5fc5\u9808\u3067\u3059\u3002\u3053\u308c\u304b\u3089\u4e00\u9023\u306e\u30d6\u30ed\u30b0\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/docker\/28678\" \/>\n<meta property=\"og:site_name\" content=\"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/creationline\" \/>\n<meta property=\"article:published_time\" content=\"2019-07-05T01:00:49+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/07\/12.png\" \/>\n\t<meta property=\"og:image:width\" content=\"797\" \/>\n\t<meta property=\"og:image:height\" content=\"322\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Daisuke Higuchi\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@creationline\" \/>\n<meta name=\"twitter:site\" content=\"@creationline\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"Daisuke Higuchi\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/docker\\\/28678#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/docker\\\/28678\"},\"author\":{\"name\":\"Daisuke Higuchi\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#\\\/schema\\\/person\\\/16f1373831fb6fd17387f16ae1195206\"},\"headline\":\"Dockerfile\u3063\u3066\u3069\u3046\u66f8\u3051\u3070\u3044\u3044\u306e\uff1f \u66f8\u304d\u65b9\u30d9\u30b9\u30c8\u30d7\u30e9\u30af\u30c6\u30a3\u30b9 #docker\",\"datePublished\":\"2019-07-05T01:00:49+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/docker\\\/28678\"},\"wordCount\":127,\"image\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/docker\\\/28678#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2019\\\/07\\\/12.png\",\"articleSection\":[\"Docker\"],\"inLanguage\":\"ja\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/docker\\\/28678\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/docker\\\/28678\",\"name\":\"Dockerfile\u3063\u3066\u3069\u3046\u66f8\u3051\u3070\u3044\u3044\u306e\uff1f \u66f8\u304d\u65b9\u30d9\u30b9\u30c8\u30d7\u30e9\u30af\u30c6\u30a3\u30b9 #docker - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/docker\\\/28678#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/docker\\\/28678#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2019\\\/07\\\/12.png\",\"datePublished\":\"2019-07-05T01:00:49+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#\\\/schema\\\/person\\\/16f1373831fb6fd17387f16ae1195206\"},\"description\":\"Docker |\u4eca\u65e5\u3001GitHub\u306b\u306f100\u4e07\u3092\u8d8a\u3048\u308bDockerfile\u304c\u3042\u308a\u307e\u3059\u304c\u3001\u305d\u306e\u3059\u3079\u3066\u304c\u5747\u4e00\u306b\u4f5c\u3089\u308c\u3066\u3044\u308b\u308f\u3051\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u52b9\u7387\u6027\u306f\u5fc5\u9808\u3067\u3059\u3002\u3053\u308c\u304b\u3089\u4e00\u9023\u306e\u30d6\u30ed\u30b0\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/docker\\\/28678#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/docker\\\/28678\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/docker\\\/28678#primaryimage\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2019\\\/07\\\/12.png\",\"contentUrl\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2019\\\/07\\\/12.png\",\"width\":797,\"height\":322},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/docker\\\/28678#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"HOME\",\"item\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u30af\u30e9\u30a6\u30c9\u30cd\u30a4\u30c6\u30a3\u30d6\",\"item\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Docker\",\"item\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/docker\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Dockerfile\u3063\u3066\u3069\u3046\u66f8\u3051\u3070\u3044\u3044\u306e\uff1f \u66f8\u304d\u65b9\u30d9\u30b9\u30c8\u30d7\u30e9\u30af\u30c6\u30a3\u30b9 #docker\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#website\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/\",\"name\":\"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\",\"description\":\"\u30a2\u30b8\u30e3\u30a4\u30eb\uff06DevOps\u3001\u30af\u30e9\u30a6\u30c9\u30cd\u30a4\u30c6\u30a3\u30d6\u3001AI\uff06LLM\u306e\u5148\u7aef\u6280\u8853\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#\\\/schema\\\/person\\\/16f1373831fb6fd17387f16ae1195206\",\"name\":\"Daisuke Higuchi\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/d-higuchi-wp-icon-230x230.png\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/d-higuchi-wp-icon-230x230.png\",\"contentUrl\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/d-higuchi-wp-icon-230x230.png\",\"caption\":\"Daisuke Higuchi\"},\"description\":\"Chef\u30fbDocker\u30fbMirantis\u88fd\u54c1\u306a\u3069\u306e\u6280\u8853\u8981\u7d20\u306b\u52a0\u3048\u3066\u3001\u4f1a\u8b70\u306e\u9032\u3081\u65b9\u30fb\u6587\u7ae0\u306e\u66f8\u304d\u65b9\u306a\u3069\u306e\u696d\u52d9\u6539\u5584\u306b\u3082\u53d6\u308a\u7d44\u3093\u3067\u3044\u307e\u3059\u3002\u300cChef\u6d3b\u7528\u30ac\u30a4\u30c9\u300d\u5171\u8457\u306e\u307b\u304b\u3001Debian Official Developer\u3082\u3084\u3063\u3066\u3044\u307e\u3059\u3002\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/author\\\/higuchi\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Dockerfile\u3063\u3066\u3069\u3046\u66f8\u3051\u3070\u3044\u3044\u306e\uff1f \u66f8\u304d\u65b9\u30d9\u30b9\u30c8\u30d7\u30e9\u30af\u30c6\u30a3\u30b9 #docker - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","description":"Docker |\u4eca\u65e5\u3001GitHub\u306b\u306f100\u4e07\u3092\u8d8a\u3048\u308bDockerfile\u304c\u3042\u308a\u307e\u3059\u304c\u3001\u305d\u306e\u3059\u3079\u3066\u304c\u5747\u4e00\u306b\u4f5c\u3089\u308c\u3066\u3044\u308b\u308f\u3051\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u52b9\u7387\u6027\u306f\u5fc5\u9808\u3067\u3059\u3002\u3053\u308c\u304b\u3089\u4e00\u9023\u306e\u30d6\u30ed\u30b0","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/docker\/28678","og_locale":"ja_JP","og_type":"article","og_title":"Dockerfile\u3063\u3066\u3069\u3046\u66f8\u3051\u3070\u3044\u3044\u306e\uff1f \u66f8\u304d\u65b9\u30d9\u30b9\u30c8\u30d7\u30e9\u30af\u30c6\u30a3\u30b9 #docker - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","og_description":"Docker |\u4eca\u65e5\u3001GitHub\u306b\u306f100\u4e07\u3092\u8d8a\u3048\u308bDockerfile\u304c\u3042\u308a\u307e\u3059\u304c\u3001\u305d\u306e\u3059\u3079\u3066\u304c\u5747\u4e00\u306b\u4f5c\u3089\u308c\u3066\u3044\u308b\u308f\u3051\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u52b9\u7387\u6027\u306f\u5fc5\u9808\u3067\u3059\u3002\u3053\u308c\u304b\u3089\u4e00\u9023\u306e\u30d6\u30ed\u30b0","og_url":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/docker\/28678","og_site_name":"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","article_publisher":"https:\/\/www.facebook.com\/creationline","article_published_time":"2019-07-05T01:00:49+00:00","og_image":[{"width":797,"height":322,"url":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/07\/12.png","type":"image\/png"}],"author":"Daisuke Higuchi","twitter_card":"summary_large_image","twitter_creator":"@creationline","twitter_site":"@creationline","twitter_misc":{"\u57f7\u7b46\u8005":"Daisuke Higuchi","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"1\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/docker\/28678#article","isPartOf":{"@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/docker\/28678"},"author":{"name":"Daisuke Higuchi","@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/16f1373831fb6fd17387f16ae1195206"},"headline":"Dockerfile\u3063\u3066\u3069\u3046\u66f8\u3051\u3070\u3044\u3044\u306e\uff1f \u66f8\u304d\u65b9\u30d9\u30b9\u30c8\u30d7\u30e9\u30af\u30c6\u30a3\u30b9 #docker","datePublished":"2019-07-05T01:00:49+00:00","mainEntityOfPage":{"@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/docker\/28678"},"wordCount":127,"image":{"@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/docker\/28678#primaryimage"},"thumbnailUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/07\/12.png","articleSection":["Docker"],"inLanguage":"ja"},{"@type":"WebPage","@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/docker\/28678","url":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/docker\/28678","name":"Dockerfile\u3063\u3066\u3069\u3046\u66f8\u3051\u3070\u3044\u3044\u306e\uff1f \u66f8\u304d\u65b9\u30d9\u30b9\u30c8\u30d7\u30e9\u30af\u30c6\u30a3\u30b9 #docker - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","isPartOf":{"@id":"https:\/\/www.creationline.com\/tech-blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/docker\/28678#primaryimage"},"image":{"@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/docker\/28678#primaryimage"},"thumbnailUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/07\/12.png","datePublished":"2019-07-05T01:00:49+00:00","author":{"@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/16f1373831fb6fd17387f16ae1195206"},"description":"Docker |\u4eca\u65e5\u3001GitHub\u306b\u306f100\u4e07\u3092\u8d8a\u3048\u308bDockerfile\u304c\u3042\u308a\u307e\u3059\u304c\u3001\u305d\u306e\u3059\u3079\u3066\u304c\u5747\u4e00\u306b\u4f5c\u3089\u308c\u3066\u3044\u308b\u308f\u3051\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u52b9\u7387\u6027\u306f\u5fc5\u9808\u3067\u3059\u3002\u3053\u308c\u304b\u3089\u4e00\u9023\u306e\u30d6\u30ed\u30b0","breadcrumb":{"@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/docker\/28678#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.creationline.com\/tech-blog\/cloudnative\/docker\/28678"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/docker\/28678#primaryimage","url":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/07\/12.png","contentUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/07\/12.png","width":797,"height":322},{"@type":"BreadcrumbList","@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/docker\/28678#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"HOME","item":"https:\/\/www.creationline.com\/tech-blog"},{"@type":"ListItem","position":2,"name":"\u30af\u30e9\u30a6\u30c9\u30cd\u30a4\u30c6\u30a3\u30d6","item":"https:\/\/www.creationline.com\/tech-blog\/cloudnative"},{"@type":"ListItem","position":3,"name":"Docker","item":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/docker"},{"@type":"ListItem","position":4,"name":"Dockerfile\u3063\u3066\u3069\u3046\u66f8\u3051\u3070\u3044\u3044\u306e\uff1f \u66f8\u304d\u65b9\u30d9\u30b9\u30c8\u30d7\u30e9\u30af\u30c6\u30a3\u30b9 #docker"}]},{"@type":"WebSite","@id":"https:\/\/www.creationline.com\/tech-blog\/#website","url":"https:\/\/www.creationline.com\/tech-blog\/","name":"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","description":"\u30a2\u30b8\u30e3\u30a4\u30eb\uff06DevOps\u3001\u30af\u30e9\u30a6\u30c9\u30cd\u30a4\u30c6\u30a3\u30d6\u3001AI\uff06LLM\u306e\u5148\u7aef\u6280\u8853","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.creationline.com\/tech-blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/16f1373831fb6fd17387f16ae1195206","name":"Daisuke Higuchi","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2023\/08\/d-higuchi-wp-icon-230x230.png","url":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2023\/08\/d-higuchi-wp-icon-230x230.png","contentUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2023\/08\/d-higuchi-wp-icon-230x230.png","caption":"Daisuke Higuchi"},"description":"Chef\u30fbDocker\u30fbMirantis\u88fd\u54c1\u306a\u3069\u306e\u6280\u8853\u8981\u7d20\u306b\u52a0\u3048\u3066\u3001\u4f1a\u8b70\u306e\u9032\u3081\u65b9\u30fb\u6587\u7ae0\u306e\u66f8\u304d\u65b9\u306a\u3069\u306e\u696d\u52d9\u6539\u5584\u306b\u3082\u53d6\u308a\u7d44\u3093\u3067\u3044\u307e\u3059\u3002\u300cChef\u6d3b\u7528\u30ac\u30a4\u30c9\u300d\u5171\u8457\u306e\u307b\u304b\u3001Debian Official Developer\u3082\u3084\u3063\u3066\u3044\u307e\u3059\u3002","url":"https:\/\/www.creationline.com\/tech-blog\/author\/higuchi"}]}},"_links":{"self":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/28678","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/comments?post=28678"}],"version-history":[{"count":2,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/28678\/revisions"}],"predecessor-version":[{"id":28692,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/28678\/revisions\/28692"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/media\/28690"}],"wp:attachment":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/media?parent=28678"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/categories?post=28678"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/tags?post=28678"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}