Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Collapse
Brand Logo

ModalAI Forum

  1. ModalAI Support Forum
  2. Ask your questions right here!
  3. Multi Stage Docker Builds

Multi Stage Docker Builds

Scheduled Pinned Locked Moved Ask your questions right here!
3 Posts 3 Posters 799 Views 3 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.
  • kasarrowtecK Offline
    kasarrowtecK Offline
    kasarrowtec
    Contributor
    wrote on last edited by
    #1

    Hi,

    I am trying to do a multi stage docker build as my current docker image is too large but it seems that it is not possible with my current dockerfile.
    I start with

    FROM arm64v8/ubuntu:latest as BUILDER

    and it is unable to pull the image from docker.

    I also tried just
    FROM arm64v8/ubuntu:latest
    then when i need to copy the compiled file over in the next part using -
    COPY --from=0
    (0 being the first build)
    and i am returned with an error stating the --from parameter doesnt exist in voxl-docker.

    Does voxl-docker support multi stage deployment and if so how would i go about it ? or any useful tips ?

    Best regards

    1 Reply Last reply
    0
    • Chad SweetC Offline
      Chad SweetC Offline
      Chad Sweet
      ModalAI Team
      wrote on last edited by
      #2

      Some folks have used the SD Card, though it's really slow. The recommended approach would be to build it off target, compress it, then copy it over to target

      1 Reply Last reply
      0
      • modaltbM Offline
        modaltbM Offline
        modaltb
        ModalAI Team
        wrote on last edited by
        #3

        I didn't know Docker had this feature, so thanks for that tip!

        Docker built on VOXL is running at version 1.9.0 and from some articles I read it looks like multistage build started in 17.06 (https://docs.docker.com/engine/release-notes/prior-releases/)

        So I don't believe this is supported.

        1 Reply Last reply
        0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        ModalAI
        Categories Recent Tags ModalAI.com Docs
        © 2026 ModalAI® · Accelerating autonomy for smaller, smarter, safer drones · Powered by NodeBB
        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups