ModalAI Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    voxl-cross docker image without network

    VOXL SDK
    2
    2
    152
    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.
    • N
      Nicholas Clark
      last edited by

      On a system without direct access to the internet, the voxl-cross docker image version 2.7 executes this scipt when a login shell is created which triggers multiple http requests that will not complete on an offline system:

      /etc/profile.d/local_completions.sh

      AVAILABLE_SECTIONS=( "$(wget http://voxl-packages.modalai.com/dists/qrb5165 -q -
      O- | grep ' -' | cut -d '>' -f 2 | cut -d '/' -f 1 )" )
      
      AVAILABLE_DISTS=( "$( wget http://voxl-packages.modalai.com/dists -q -O- | grep
      ' -' | cut -d '>' -f 2 | cut -d '/' -f 1 )" )
      

      The voxl-docker wrapper script has this as its default entrypoint:

      ENTRYPOINT="/bin/bash -l" # login shell so it loads /etc/profile
      

      The combination of the default entrypoint requiring a login shell and the voxl-cross containing mandatory network calls as part of the login process lead to an unstable image.

      ModeratorM 1 Reply Last reply Reply Quote 0
      • ModeratorM
        Moderator ModalAI Team @Nicholas Clark
        last edited by

        @Nicholas-Clark you can find the voxl-cross Dockerfile and source here. We're happy to incorporate merge requests if you feel you have a solution that can be generalized across our customers.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Powered by NodeBB | Contributors