{"url":"https://nekopunch.hatenablog.com/entry/2018/10/08/213513","blog_url":"https://nekopunch.hatenablog.com/","author_url":"https://blog.hatena.ne.jp/tmknom/","published":"2018-10-08 21:35:13","title":"\u300chadolint\u300d\u306b\u30b7\u30d0\u304b\u308c\u306a\u304c\u3089\u7f8e\u3057\u3044Dockerfile\u3092\u66f8\u304d\u4e0a\u3052\u308b","width":"100%","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnekopunch.hatenablog.com%2Fentry%2F2018%2F10%2F08%2F213513\" title=\"\u300chadolint\u300d\u306b\u30b7\u30d0\u304b\u308c\u306a\u304c\u3089\u7f8e\u3057\u3044Dockerfile\u3092\u66f8\u304d\u4e0a\u3052\u308b - \u6182\u9b31\u306a\u4e16\u754c\u306b\u30cd\u30b3\u30d1\u30f3\u30c1\uff01\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","height":"190","version":"1.0","provider_url":"https://hatena.blog","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/t/tmknom/20181007/20181007151819.png","provider_name":"Hatena Blog","categories":["Docker","CLI","Tips"],"description":"hadolint\u3068\u306f hadolint\u306fDockerfile\u7528\u306eLint\u30c4\u30fc\u30eb\u3060\u3002 \u305f\u3068\u3048\u3070\u3001\u4e0b\u8a18\u306e\u3088\u3046\u306aDockerfile\u3092\u4f5c\u3063\u3066\u3001\u30c1\u30a7\u30c3\u30af\u3057\u3066\u307f\u308b\u3002 FROM alpine RUN cd /tmp && echo 'hello' \u3059\u308b\u3068\u3001\u6b21\u306e\u3088\u3046\u306a\u8b66\u544a\u3092\u3057\u3066\u304f\u308c\u308b\u3088\u3046\u306b\u306a\u308b\u3002 /dev/stdin:1 DL3006 Always tag the version of an image explicitly /dev/stdin:3 DL3003 Use WORKDIR to switch to a directory","blog_title":"\u6182\u9b31\u306a\u4e16\u754c\u306b\u30cd\u30b3\u30d1\u30f3\u30c1\uff01","author_name":"tmknom"}