Uploaded image for project: 'National Data Service'
  1. National Data Service
  2. NDS-306

Docker builds sourcing base image tag :latest is non-deterministic

XMLWordPrintableJSON

    • NDS Sprint 8

      Using the tag latest in Dockerfile's is non-deterministic based on the history of the docker host. Building an image today with :latest will pull the most recent version of a base image, but will not update that base image over time. If a new base is released in the Docker hub, building on an older machine that has pulled the previous version, and a new machine which will pull the new base, will be inconsistent and therefore error-prone in unanticipated ways.

      We should develop a build procedure for containers that is reliable over time.

              lambert8 Sara Lambert
              raila David Raila
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - 4 hours Original Estimate - 4 hours
                  4h
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day
                  1d