Skip to content

Freeze image version in docker-compose.yml instead of using 'dev' tag #9

Closed

Description

@gerchowl

Issue

The .devcontainer/docker-compose.yml currently uses the dev tag:

image: ghcr.io/vig-os/devcontainer:dev

Question

After deployment of the devcontainer to a project, should the image version be frozen/pinned instead of using dev?

Considerations:

  • :dev - Currently used, but this tag is for development builds and may change unexpectedly
  • :latest - Points to the most recent stable release, but still not frozen
  • Pinned version (e.g., :1.0) - Would provide stability and reproducibility

Context

The dev tag is used by make build for local development builds. For production use or when deploying to other projects, a frozen version would:

  1. Ensure reproducible builds
  2. Prevent unexpected breaking changes
  3. Allow controlled upgrades

Discussion Points

  • Should this file use a pinned version, latest, or keep dev?
  • If a pinned version is preferred, should the {{IMAGE_TAG}} placeholder system be extended to cover the .devcontainer/docker-compose.yml as well?

cc @c-vigo

Activity

  1. c-vigo commented on Dec 10, 2025

    @c-vigo
    Contributor

    The file does use a pinned version, but only at release stage

    This way you guarantee that if you use a dev version, it reflects that

    Release 0.1 coming soon, then you can verify and close

  2. c-vigo commented on Dec 12, 2025

    @c-vigo
    Contributor

    @gerchowl may we close this issue?

  3. gerchowl commented on Dec 12, 2025

    @gerchowl
    ContributorAuthor

    Lemme test in a test repo that it unpacks for me with renaming

  4. gerchowl commented on Dec 15, 2025

    @gerchowl
    ContributorAuthor

    works

  5. c-vigo commented on Dec 15, 2025

    @c-vigo
    Contributor

    Fixed in #11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions