Uploaded image for project: 'PUBLIC - Liferay IDE'
  1. PUBLIC - Liferay IDE
  2. IDE-4422

Can't install Liferay Project SDK on a Docker container

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.4
    • Fix Version/s: 3.5
    • Component/s: Installer
    • Labels:
      None
    • Environment:
      Darwin Kernel Version 18.2.0: Fri Oct 5 19:41:49 PDT 2018; root:xnu-4903.221.2~2/RELEASE_X86_64 x86_64
      Docker Desktop Community: Version 2.0.0.0-mac78 (28905)

      Description

      Download LiferayProjectSDK-2018.11.4-linux-x64-installer.run. In the same folder where the installer is downloadded, create the following Dockerfile

      FROM openjdk:8u181
      COPY LiferayProjectSDK-2018.11.4-linux-x64-installer.run /tmp
      RUN /tmp/LiferayProjectSDK-2018.11.4-linux-x64-installer.run --initlrws skiplsws --mode unattended --isdxp dxp --bundleversion 7_1
      

      then build the image.

      Expected behavior

      The new image containing the SDK will be will be built.

      Current behavior

      An error will occur on step 3/3. The following

      Problem running post-install step. Installation may not complete correctly
       Error running chown -R  "/root/jpm": chown: missing operand after '/root/jpm'
      Try 'chown --help' for more information.
      The command '/bin/sh -c /tmp/LiferayProjectSDK-2018.11.4-linux-x64-installer.run --initlrws skiplsws --mode unattended --isdxp dxp --bundleversion 7_1' returned a non-zero code: 1
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                50 weeks, 4 days ago

                Packages

                Version Package
                3.5