<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Optomatic</title>
    <description>The latest articles on DEV Community by Optomatic (@optomatic).</description>
    <link>https://dev.to/optomatic</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4124711%2F507d7dbd-a278-4d42-ae96-0984dc1cce38.jpg</url>
      <title>DEV Community: Optomatic</title>
      <link>https://dev.to/optomatic</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/optomatic"/>
    <language>en</language>
    <item>
      <title>A Dockerfile release preflight for mutable image tags</title>
      <dc:creator>Optomatic</dc:creator>
      <pubDate>Mon, 14 Sep 2026 14:27:24 +0000</pubDate>
      <link>https://dev.to/optomatic/a-dockerfile-release-preflight-for-mutable-image-tags-1bhd</link>
      <guid>https://dev.to/optomatic/a-dockerfile-release-preflight-for-mutable-image-tags-1bhd</guid>
      <description>&lt;p&gt;A Dockerfile can look unchanged while the image it builds changes beneath it. The usual cause is a mutable image reference.&lt;/p&gt;

&lt;h2&gt;
  
  
  The small release-review question
&lt;/h2&gt;

&lt;p&gt;Before a release, identify each &lt;code&gt;FROM&lt;/code&gt; reference and answer one question: does it identify exactly the image you intended to run?&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight docker"&gt;&lt;code&gt;&lt;span class="k"&gt;FROM&lt;/span&gt;&lt;span class="s"&gt; node:latest&lt;/span&gt;
&lt;span class="k"&gt;FROM&lt;/span&gt;&lt;span class="s"&gt; postgres:16&lt;/span&gt;
&lt;span class="k"&gt;FROM&lt;/span&gt;&lt;span class="s"&gt; ghcr.io/acme/service@sha256:abc&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Those are three different review choices:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;latest&lt;/code&gt; is deliberately floating.&lt;/li&gt;
&lt;li&gt;a major tag is easier to understand, but may still move as new builds are published.&lt;/li&gt;
&lt;li&gt;a digest identifies a specific image artifact.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;There is no universal rule that every dependency must be digest-pinned. The useful practice is to make the choice visible before the build, especially for base images that control the execution environment.&lt;/p&gt;

&lt;h2&gt;
  
  
  A lightweight preflight
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;List each &lt;code&gt;FROM&lt;/code&gt; reference in the Dockerfile you are about to ship.&lt;/li&gt;
&lt;li&gt;Flag floating or broad tags.&lt;/li&gt;
&lt;li&gt;Decide which ones need an immutable reference for this release.&lt;/li&gt;
&lt;li&gt;Preserve any exceptions beside the release notes.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;For a quick deterministic pass, I published a free browser-local &lt;a href="https://docker-tag-checker.optomatic.app/?src=devto-docker-preflight" rel="noopener noreferrer"&gt;Docker Tag Checker&lt;/a&gt;. Paste a Dockerfile; the text stays in the browser and the tool highlights mutable references.&lt;/p&gt;

&lt;p&gt;If a team needs a timestamped shareable record of the exact check, the same page offers a one-time downloadable report for €7. There is no account or subscription.&lt;/p&gt;

&lt;p&gt;This is a narrow release-review aid, not a security certification. The full example checklist is also available in the public &lt;a href="https://github.com/pwhughes/docker-tag-checker" rel="noopener noreferrer"&gt;repository&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>docker</category>
    </item>
  </channel>
</rss>
