In this latest podcast episode, I break down why Dockerfile frontends exist and how Docker's build engine "BuildKit" is giving us updated Dockerfile features.
The TL;DR of this podcast is to add this to your Dockerfiles as the first line, always and forever.
# syntax=docker/dockerfile:1
In my newsletter article #36 that came out in the last couple of months was basically my declaration that I'm doing this in my work and lessons I teach.
It'll ensure your Dockerfile will have access to the latest v1.x features of the "Dockerfile frontend" feature of BuildKit.
You can get the show notes on the episode page.