Skip to content

Latest commit

 

History

History
17 lines (16 loc) · 355 Bytes

docker-image-version-should-be-specific.md

File metadata and controls

17 lines (16 loc) · 355 Bytes
tags
docker
dockerfile
devops

In software development, the best practice is to specify a fixed image version with the exact major and minor parts to ensure stability.

Real case scenario

It worked fine before Node.js was updated to 18.18:

FROM node:18-alpine

Fixed version:

FROM node:18.17-alpine