# Dockerfiles have versions?

> Episode of [DevOps and Docker Talk: Cloud Native Interviews and Tooling](https://podistic.com/podcast/devops-and-docker-talk-cloud-native-interviews-and-tooling.md) · Published December 29, 2023 · Duration 16:06 · Episode 151, season 1

- **Listen on Podistic:** https://podistic.com/episode/dockerfiles-have-versions
- **Audio:** https://media.transistor.fm/31af90fc/53cfd781.mp3 (audio/mpeg)

## About this episode

I break down why Dockerfile frontends exist and how Docker's build engine "BuildKit" is giving us updated Dockerfile features.

😇 My new [**GitHub Security workshop**](https://www.bretfisher.com/gasa-workshop) has launched! **A free 2-hour workshop** with hands-on labs to **harden your repos** and your workflows from common supply chain attacks. I'll cover how attackers are getting in, and then we'll lock down a sample repo so you know what needs to be done to protect your code. You'll leave with a deep understanding of risks and mitigations as well as a list of helpful tools to keep your repos safe, including my new "gasa" tool for scanning your repos and orgs.

The TL;DR of this podcast is to add this to your Dockerfiles as the first line, always and forever.

\# syntax=docker/dockerfile:1

  
It'll ensure your Dockerfile will have access to the latest v1.x features of the "Dockerfile frontend" feature of BuildKit.  
  
**★Topics★**  
[My newsletter on Dockerfile frontends](https://www.bretfisher.com/cloud-native-devops-36/) (including links and references)  
  
**Creators \& Guests** 

*   [Beth Fisher](https://podcast.bretfisher.com/people/beth-fisher) - Producer
*   [Bret Fisher](https://podcast.bretfisher.com/people/bret-fisher) - Host

*   (00:00) -
*   (00:36) - Understanding Docker Files
*   (00:47) - The Evolution of Docker Files
*   (01:05) - The Importance of Docker File Versions
*   (02:20) - The Impact of Dockerfile Standards
*   (03:41) - The Benefits of Using the Latest Dockerf ile Parser
*   (04:16) - The Challenges of Docker Engine Versions
*   (05:18) - The Advantages of Docker Front Ends
*   (07:56) - The Role of OCI in Dockerfiles
*   (10:18) - Exploring New Features in Docker File Front Ends
*   (15:27) - Conclusion: The Future of Docker Files

  

**You can also support this podcast by subscribing to my** [**YouTube**](https://www.youtube.com/@BretFisher) **channel and my monthly newsletter at** [**bret.news**](https://bret.news/)**!**

Grab the best **coupons** for my [**GitHub, Agents, Docker, and Kubernetes courses**](https://www.bretfisher.com/courses)**.**  
Join my cloud native **DevOps community** [**on Discord**](https://devops.fan/)**.**  
Grab some **merch** at [**Bret's Loot Box**](https://bretfisher.myspreadshop.com/)  
Homepage [**bretfisher.com**](https://bretfisher.com/)

 **[★ Support this podcast ★](https://www.bretfisher.com/members "★ Support this podcast ★")**
