Description
Bug Overview
Evening,
hope you are doing well and thanks for the effort.
When i started using the 1.29.0 version Docker-Images today i noticed some of them does return
nginx version: nginx/1.28.0
when using the command nginx -v
to check and verify version.
So i checked the docker-files and found, YES the files are lacking the ENV variable for nginx version
which is ENV NGINX_VERSION 1.29.0
Here for example:
But here the ENV variable for nginx version is there
The hash for image i tested
sha256:b2e814d28359e77bd0aa5fed1939620075e4ffa0eb20423cc557b375bd5c14ad
from here
https://hub.docker.com/layers/library/nginx/1.29.0-alpine3.22/images/sha256-2598e977ffd4c4cac6fe01ccab90e30186baa34ccea11a2f0e71938571f19da1
Expected Behavior
The 1.29.0 docker-images should return nginx version: nginx/1.29.0
but they return nginx version: nginx/1.28.0
Steps to Reproduce the Bug
1- I used the docker-images for the new version 1.29.0 from here:
https://hub.docker.com/_/nginx/tags?name=1.29.0
2- Did a version check with nginx -v
Environment Details
- Version/release of Docker and method of installation (e.g. Docker Desktop / Docker Server)
1.29.0 Docker on a VPS with Docker compose. - Version of the Docker NGINX image or specific commit: [e.g. 1.4.3/commit hash]
Hash: sha256:b2e814d28359e77bd0aa5fed1939620075e4ffa0eb20423cc557b375bd5c14ad - Target deployment platform: [e.g. OpenShift/Kubernetes/Docker Compose/local cluster/etc...]
Docker-Swarm and Docker-Compose - Target OS: [e.g. RHEL 9/Ubuntu 24.04/etc...]
Ubuntu 24.04.2 LTS (GNU/Linux 6.8.0-62-generic x86_64)
Additional Context
I don't know if this is normal behavior or it's a bug.