Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-14947

Gradle docker build task should output image id or tag

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: main (9.0)
    • Fix Version/s: main (9.0)
    • Component/s: Build
    • Labels:
      None

      Description

      When calling ./gradlew docker it build the image, but I have no idea what it's called so that I can run it.

      When I run with --info I get the requested output, but also a lot of other stuff.

      Successfully built 02d86c5c7357
      Successfully tagged apache/solr:9.0.0-SNAPSHOT
      :solr:docker:docker (Thread[Execution worker for ':' Thread 11,5,main]) completed. Took 0.172 secs.
      

      We could put some of that in a doLast block, similar to https://github.com/apache/lucene-solr/blob/master/gradle/releasing.gradle#L51

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                houston Houston Putman
                Reporter:
                mdrob Mike Drob
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m