Installing ZED SDK in docker
oscarthorn opened this issue · comments
Hi!
I'm trying to install the ZED SDK in a docker container. Here is the relevant part of the dockerfile:
RUN mkdir -p ~/Downloads && cd ~/Downloads && wget https://download.stereolabs.com/zedsdk/3.1/jp43/jetsons && chmod +x jetsons && ./jetsons
This fails with This script shouldn't be run as root, the root permission will be asked when needed (to install the dependencies, and the SDK into /usr/local/zed)
but in docker build there is only the root user. Should I do this in some other way. Could not really figure it out from you docker files.
Thanks!
You can run the installer like this ./installer.run -- silent
The space between --
and silent
has its importance. It will run as in the Dockerfile we're using and will not check if it's root (and will also run as "noninteractive").
The alternative is to extract the installer, then modifying the install script, like this:
./installer.run --noexec --target installer_files
cd installer_files
# Modify linux_install_release.sh
./linux_install_release.sh