veracruz-project / veracruz-docker-image

Development Docker image for the Veracruz privacy-preserving compute project. Veracruz is an adopted project of the Confidential Compute Consortium (CCC).

Home Page:https://veracruz-project.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to build Docker image on macOS Big Sur

dominic-mulligan-arm opened this issue · comments

Describe the bug
I am unable to build the Docker image on MacOS BigSur. In particular, fetching the Intel SGX SDK seems to fail.

To Reproduce

  1. Clone the veracruz-docker-image repository.
  2. Type make TEE=tz VERACRUZ_ROOT=../github-veracruz (where ../github-veracruz is my copy of the Veracruz codebase),
  3. Various commands start getting run, but eventually the build fails when trying to download the SGX SDK from download.01.org:
 => ERROR [build_sgx  4/11] RUN wget https://download.01.org/intel-sgx/linux-2.5/ubuntu18.04-server/libsgx-enclave-common_2.5.101.50123-bionic1_amd64.deb     && dpkg -i libsgx-enclave-common_2.5.101.50123-bionic1_amd64.deb     && rm libsgx-enclave-common_2.5.101.50123-bionic1_amd64.deb                                                                        75.5s
------
 > [build_sgx  4/11] RUN wget https://download.01.org/intel-sgx/linux-2.5/ubuntu18.04-server/libsgx-enclave-common_2.5.101.50123-bionic1_amd64.deb     && dpkg -i libsgx-enclave-common_2.5.101.50123-bionic1_amd64.deb     && rm libsgx-enclave-common_2.5.101.50123-bionic1_amd64.deb:
#7 0.290 --2021-04-26 15:44:23--  https://download.01.org/intel-sgx/linux-2.5/ubuntu18.04-server/libsgx-enclave-common_2.5.101.50123-bionic1_amd64.deb
#7 0.291 Resolving download.01.org (download.01.org)... 81.130.111.240, 81.130.111.239
#7 0.320 Connecting to download.01.org (download.01.org)|81.130.111.240|:443... connected.
#7 75.51 Unable to establish SSL connection.
------
executor failed running [/bin/bash -c wget https://download.01.org/intel-sgx/linux-2.5/ubuntu18.04-server/libsgx-enclave-common_2.5.101.50123-bionic1_amd64.deb     && dpkg -i libsgx-enclave-common_2.5.101.50123-bionic1_amd64.deb     && rm libsgx-enclave-common_2.5.101.50123-bionic1_amd64.deb]: exit code: 4

Expected behavior
I expect the Docker container to build to completion.

Desktop (please complete the following information):

  • OS: macOS Big Sur 11.2.3
  • Docker: Docker version 20.10.5, build 55c4c88
  • Docker image repository checkout hash: a9a49d8