voxl-cross docker image without network
-
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/profileThe 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.
-
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/profileThe 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.
@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.
Reading along? Create a free ModalAI Forum account to join in.
With an account you can reply, ask your own question, get an email when a ModalAI engineer answers, and mark the reply that solved it. Your place in each thread is saved between visits.
Questions about VOXL, Flight Core, ESCs and ModalAI drones are answered here by the engineers who build them.
Register Login