frame

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

docker build in SDK 2.04.00 fails with `wget` errors

I have been trying to use the new Dockerfile in SDK 2.04.00 to build a container but the build eventually fails with a wget related error:

Connecting to downloadmirror.intel.com (downloadmirror.intel.com)|23.44.100.6|:443... connected.
ERROR: cannot verify downloadmirror.intel.com's certificate, issued by 'CN=DigiCert SHA2 Secure Server CA,O=DigiCert Inc,C=US':
  Unable to locally verify the issuer's authority.
To connect to downloadmirror.intel.com insecurely, use `--no-check-certificate'.
Installation failed: Command 'wget --no-cache -O NCSDK-2.04.00.06.tar.gz https://downloadmirror.intel.com/27738/eng/NCSDK-2.04.00.06.tar.gz' return code=5. Error on line 308 in ./install-utilities.sh.  Will exit
Makefile:47: recipe for target 'install' failed
make: *** [install] Error 131

This happens both if I do docker build -t ncsdk -f ./extras/docker/Dockerfile https://github.com/movidius/ncsdk.git#ncsdk2 or clone the repo first and issue docker build -t ncsdk -f ./extras/docker/Dockerfile ..

What worked for me was cloning the repo first, then manually running the wget command wget --no-cache -O NCSDK-2.04.00.06.tar.gz https://downloadmirror.intel.com/27738/eng/NCSDK-2.04.00.06.tar.gz' which works fine on its own and then running the docker build command.

Comments

  • 2 Comments sorted by Votes Date Added
  • Hi @milad, thanks for reporting this. We are working on getting a fix out for it. In the meantime it should work if you remove the "--no-install-recommends" flag from the apt install command on line 4 of the Dockerfile.

  • edited October 5 Vote Up0Vote Down

    In addition, for anyone downloading on a Ubuntu system that gets the same error:
    -Open the file install.sh in gedit
    -ctrl+f and search for downloadmirror (Which will take you to the location of the wget command)
    -Add the argument --no-check-certificate

    In addition to this addition, I've found that pip is required for this... and rather difficult to install on the Jetson TX2 system I'm using:
    -Open up settings GUI (It can be done via CLI but you'd have to research this yourself)
    -Open to page "Software & Updates"
    -Make sure the option 'Community-maintained free and open-source software (universe)' is checked
    -in the terminal you can now run:
    ~$sudo apt update
    ~$sudo apt-get install python3-pip

    I'll add any more solutions as and when I encounter issues.

    I also had to manually install h5py using pip:
    ~$sudo apt-get install python-h5py
    and then removed its option from requirements.txt.

Sign In or Register to comment.