Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-108530

unable to add new custom Docker tasks to rootProject build.gradle scripts, need to upgrade docker-gradle-plugin

    Details

      Description

      Right now if you have a workspace project and in your build.gradle you try to add custom docker tasks like this:

      task log(type: DockerLogsContainer)
      
      log {
          follow = false
          tailCount = 50
          dockerContainerId { "my-Container-Id" }
      }
      

      When you execute `gw log` you will get the following error:

      * What went wrong:
      Execution failed for task ':log'.
      > Cannot invoke method withContext() on null object
      
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              simon.jiang Simon Jiang
              Reporter:
              gregory.amerson Gregory Amerson
              Participants of an Issue:
              Recent user:
              David Truong
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 28 weeks ago

                  Packages

                  Version Package