Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved Please update Docker on the Cloudron buildserver

    App Wishlist
    docker build
    3
    5
    183
    Loading More Posts
    • 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.
    • fbartels
      fbartels App Dev last edited by

      When executing cloudron build then instructions from more recent Docker version like multi-stage builds or simply copying data from another existing Docker image fail, e.g.:

      Step 9/12 : COPY --from=mprasil/bitwarden:1.7.0 /web-vault /app/code/web-vault
      Unknown flag: from
      Build failed
      Build failed
      ERROR App could not be built due to errors above [ /usr/lib/node_modules/cloudron/src/helper.js:68:29 ]
      

      Multistage builds or the possibility to copy artifacts from existing images (instead of compiling everything from scratch on top of the cloudron base image) reduce the size for additional layers and could greatly ease app development.

      1 Reply Last reply Reply Quote 1
      • murgero
        murgero App Dev last edited by

        I believe this is a known issue. They might be working on it already.

        --
        https://urgero.org
        ~ Professional Nerd. Freelance Programmer. ~

        fbartels 1 Reply Last reply Reply Quote 0
        • fbartels
          fbartels App Dev @murgero last edited by

          @murgero yes, I brought this up already in the bitwarden topic, but since this could be helpful in other scenarios I wanted to post it on its own.

          1 Reply Last reply Reply Quote 1
          • girish
            girish Staff last edited by girish

            @murgero @fbartels It's updated now to 18.09.2. Thanks!

            1 Reply Last reply Reply Quote 2
            • fbartels
              fbartels App Dev last edited by

              Thanks @girish!

              With the above dockerfile cloudron build now succeeds.

              I have a longer train ride on friday, maybe I can make something happen with bitwarden during it.

              1 Reply Last reply Reply Quote 2
              • First post
                Last post
              Powered by NodeBB