Dockerfile Latest Version #25

Closed
opened 2025-12-29 01:20:19 +01:00 by adam · 1 comment
Owner

Originally created by @ohdearaugustin on GitHub (Aug 22, 2021).

I would never use the latest tag in a docker file, because it is unstable.
You will never now with which version you end up. For example ubuntu:latest is for now ubuntu:focal.
I would prefer to use explicit versions.

Same for the golang container. Suddenly the container updated and headscale maybe won't build anymore.

Good blog about why latest is not so great:
https://vsupalov.com/docker-latest-tag/

Originally created by @ohdearaugustin on GitHub (Aug 22, 2021). I would never use the latest tag in a docker file, because it is unstable. You will never now with which version you end up. For example ubuntu:latest is for now ubuntu:focal. I would prefer to use explicit versions. Same for the golang container. Suddenly the container updated and headscale maybe won't build anymore. Good blog about why latest is not so great: https://vsupalov.com/docker-latest-tag/
adam closed this issue 2025-12-29 01:20:19 +01:00
Author
Owner

@ohdearaugustin commented on GitHub (Sep 13, 2021):

Thank for adding it already to the ubuntu image. I will open a PR these days to also set the golang container to a specific version. So we can build old containers again, when we will need them.

@ohdearaugustin commented on GitHub (Sep 13, 2021): Thank for adding it already to the ubuntu image. I will open a PR these days to also set the golang container to a specific version. So we can build old containers again, when we will need them.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#25