Skip to content

ami-build.sh: hardcoded DOCKERLABEL pins AMI to a stale OpenEMR version #651

@kojiromike

Description

@kojiromike

packages/standard/ami/ami-build.sh hardcodes the default Docker tag near the top:

DOCKERLABEL=:7.0.3

Anyone building the AMI without passing -d gets 7.0.3 regardless of what's current on Docker Hub. The value drifts silently every release.

Options worth considering:

  • Drop the default and require -d (fail fast rather than ship stale).
  • Resolve "latest stable" dynamically at build time from Docker Hub or a pinned manifest in this repo.
  • Move the default into a release-tracked variable file (e.g., packages/standard/VERSION) that's updated as part of the release process.

Flagged on PR #649 (review thread on line 6).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions