Urgent.News

What's breaking now, across thousands of outlets.

Tech

There Are Two Dockerfiles. Your Agent Should Touch Neither.

A coding agent will edit a Dockerfile the way a helpful intern edits a wiki: confidently, locally, and with no memory of the last time someone did the same thing three services over. That is fine in a three-service repo. It is a slow accident in a landscape. Flisk makes the accident specific, because it already has two Dockerfiles, and flisk up builds only one of them. If your agent cannot tell…

In the world of Docker, there are two Dockerfiles that coding agents should not touch. The Flisk tool has taken note of this, creating two Dockerfiles in a project: one that runs and one that looks like source. The file that runs is the one flisk up builds after local golden layers exist, while the other file is a plain Dockerfile beside service.json that nobody should edit by hand, unless they are leaving Flisk's local loop.

The final stage of the Dockerfile runs as user bun and has a local tag that looks different from its actual production and development targets. flisk up does not build the plain Dockerfile, and its PORT, EXPOSE, and health check follow the port in service.json. The plain Dockerfile is a starting point for building outside Flisk, but it is not fit to ship as a production image.

The rule is simple: edit service.json, let the generator write the rest, and never touch the other Dockerfile.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Duplicate titles and meta descriptions on a docs site

Originally published on headlark.com . Docs sites grow by copying pages. A new section starts as a copy of an old one, every product area gets an "Overview" and a "Configuration" page, and the…

  • Duplicate titles and meta descriptions cause search engine issues
  • Docusaurus derives descriptions from first Markdown line, disregarding some elements
  • Starlight and VitePress use site-wide description for pages without custom descriptions

Every CLI You Run Has Your SSH Keys, Your `.env`, and Your Cloud Tokens. Here's a 100-Line Fence Around That.

In April 2026, a malicious version of the Bitwarden CLI was published to npm. It was live for about ninety minutes. In that window it read SSH keys, .env files, and AWS, Azure and GCP credentials off…

  • Malicious Bitwarden CLI version accessed SSH keys, .env files, cloud credentials in April 2026
  • OVHcloud CLI repository compromised due to bad build in October, blocked within 94 minutes
  • ghl-jail tool restricts CLI operations to designated project folder, denies access to sensitive data

★ The iPhone Duo

It’s been a lot of fun trying the Duo out for a week, but it feels like I’ve gotten to use an extraordinarily polished prototype — not a finished product that I’d want to buy and carry.

More from Wednesday 21 October →