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

              simon.jiang Simon Jiang
              gregory.amerson Gregory Amerson
              Kiyoshi Lee Kiyoshi Lee
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                2 years, 44 weeks ago

                Packages

                  Version Package