Uploaded image for project: 'Debezium'
  1. Debezium
  2. DBZ-2323

Use ARG with defaults for Kafka's versions and sha when building Kafka Docker image

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Optional Optional
    • 1.3.0.Alpha1
    • None
    • container-images
    • None

      Debezium's Dockerfile creates a nice clean Kafka image but has a small issue: the versions and the sha512 hash are created as environment variables which cannot be manipulated during docker build time (except maybe by regex replaces).

      We can move these variables to ARG instructions with the same defaults and setting the {{ENV}}s from those build arguments. The behavior therefore stays exactly the same but it does allow users of this Dockerfile to inject different versions if need be.

            Unassigned Unassigned
            frankkoornstra Frank Koornstra (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: