Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. CLI of qt-online-installer fails in docker
Forum Updated to NodeBB v4.3 + New Features

CLI of qt-online-installer fails in docker

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
4 Posts 3 Posters 455 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    krafel
    wrote on last edited by
    #1

    I am trying to install QT inside a docker container (via gitlab-ci) with the following command:

    ./qt-unified-linux-x64-4.7.0-online.run --root /opt/Qt --accept-obligations --accept-licenses --default-answer --confirm-command  install qt.qt6.653.gcc_64 qt.qt6.653.addons
    
    

    Unfortunately that fails. The docker log spits out the following:

    [7362] Installation space required: "4.29 GB" Temporary space required: "1.45 GB" Local repository size: "0.00 bytes"
    [7363] Cache is on a different volume than the installation directory. Cache volume mount point: "" Free space available: "0.00 bytes" Install volume mount point: "/builds" Free space available: "202.72 GB"
    [7363] Not enough disk space to store temporary files! 0.00 bytes are available, while the minimum required is 1.45 GB. You may select another location for the temporary files by modifying the local cache path from the installer settings.
    [7363] Installation aborted.
    

    Any ideas how to solve this? Is there a way to specify that mysterious cache? adding --cache-path <some tmp dir> option didn't help

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      Since you are in a CI context, did you consider using the aqt install project ? It's not the official installer but its goal is to make installing Qt easier in the context of a CI.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      K 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi and welcome to devnet,

        Since you are in a CI context, did you consider using the aqt install project ? It's not the official installer but its goal is to make installing Qt easier in the context of a CI.

        K Offline
        K Offline
        krafel
        wrote on last edited by
        #3

        Hi @SGaist ,

        Thanks for the welcome and your hint to aqt. I will definitely look into that one, but I would prefer to use the official installer for our production environment that is proved to work there. Do you know how the 'Cache volume mount point' that is "" could be specified or how it is actually checked? I think this is the only thing lacking for a successful installation which is working fine if not in a container.

        Paul ColbyP 1 Reply Last reply
        0
        • K krafel

          Hi @SGaist ,

          Thanks for the welcome and your hint to aqt. I will definitely look into that one, but I would prefer to use the official installer for our production environment that is proved to work there. Do you know how the 'Cache volume mount point' that is "" could be specified or how it is actually checked? I think this is the only thing lacking for a successful installation which is working fine if not in a container.

          Paul ColbyP Offline
          Paul ColbyP Offline
          Paul Colby
          wrote on last edited by
          #4

          @krafel said in CLI of qt-online-installer fails in docker:

          Thanks for the welcome and your hint to aqt. I will definitely look into that one

          +1 for aqt. I also highly recommend this handy tool for building aqt command lines: https://ddalcino.github.io/aqt-list-server/

          @krafel said in CLI of qt-online-installer fails in docker:

          Do you know how the 'Cache volume mount point' that is "" could be specified or how it is actually checked?

          A quick look at the Qt Installer Framework source suggests that --cache-path should work (untested).

          Cheers.

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved