#author("2025-04-13T08:09:24+00:00","default:yoya","yoya")
[[Docker]] > [[Dockerfile]]

- Use argument in Dockerfile
--  https://blog.lorentzca.me/use-argument-in-dockerfile/
 PATH環境変数など、「コンテナ内でも環境変数として利用したい」値はENVを使う
 インストールするミドルウェアのバージョンなど、「ビルド時にのみに利用したい」値はARGを使う

- dockerfmt
--  https://github.com/reteps/dockerfmt
>
Dockerfile formatter, and a modern version of dockfmt. Built on top of the internal buildkit parser.