FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
I built a 45MB, 0-Vulnerability Node.js 25 Runtime (and why you should stop using node:alpine)
How-ToSecurity

I built a 45MB, 0-Vulnerability Node.js 25 Runtime (and why you should stop using node:alpine)

via Dev.toRuntime Node1mo ago

The Problem with "Standard" Images If you are a Node.js developer, your Dockerfile probably starts with one of two lines: FROM node:24 or FROM node:25 (Debian-based) FROM node:24-alpine or FROM node:25-alpine (Alpine-based) The Debian image is massive (~400MB+ uncompressed) and often carries a backlog of CVEs (Common Vulnerabilities and Exposures) in system libraries you never use. The Alpine image is much better (~130MB uncompressed), but it still includes a shell ( /bin/sh ), a package manager ( apk ), and tools like wget or curl . Ask yourself: Does your production container really need a shell? Does it need to be able to install new packages at runtime? If the answer is no, then those tools represent attack surface . If a hacker manages to inject code into your app, providing them with /bin/sh and wget is like rolling out the red carpet. The Solution: Going "Distroless" with Scratch\ I decided to engineer a "Gold Standard" runtime image. The goal was simple: Zero Bloat . I call the

Continue reading on Dev.to

Opens in a new tab

Read Full Article
24 views

Related Articles

Percentage Change: The Most Misused Metric in Data Analysis (And How to Calculate It Correctly)
How-To

Percentage Change: The Most Misused Metric in Data Analysis (And How to Calculate It Correctly)

Medium Programming • 3d ago

I Missed This Claude Setting at First. And It Actually Matters
How-To

I Missed This Claude Setting at First. And It Actually Matters

Medium Programming • 3d ago

Instacart Promo Code: Save on Groceries in March 2026
How-To

Instacart Promo Code: Save on Groceries in March 2026

Wired • 3d ago

How a Switch Actually “Learns”: Demystifying MAC Addresses and the CAM Table
How-To

How a Switch Actually “Learns”: Demystifying MAC Addresses and the CAM Table

Medium Programming • 3d ago

This is the lowest price on a 64GB RAM kit I've seen in months
How-To

This is the lowest price on a 64GB RAM kit I've seen in months

ZDNet • 4d ago

Discover More Articles