From 5cd56572760a07f3277da53e875f562adb3941e1 Mon Sep 17 00:00:00 2001 From: Denis Date: Wed, 6 Dec 2023 18:08:59 +0400 Subject: [PATCH] Fix .deb build - support Ubuntu 18.04+ - switch to custom SGX images (#58) * Build deb on older ubuntu * Switch to custom sgx image * Switch to 2.19-focal * Try fix -pthread for sgx 2.22 * Try with bionic --- .github/workflows/build-deb.yml | 2 +- docker/node.Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-deb.yml b/.github/workflows/build-deb.yml index 6298992b..d2e1dd5b 100644 --- a/.github/workflows/build-deb.yml +++ b/.github/workflows/build-deb.yml @@ -7,7 +7,7 @@ on: jobs: build-deb: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 env: SGX_MODE: HW steps: diff --git a/docker/node.Dockerfile b/docker/node.Dockerfile index 46734a97..ddf6dd2c 100644 --- a/docker/node.Dockerfile +++ b/docker/node.Dockerfile @@ -1,5 +1,5 @@ ############ Install Intel SGX SDK & SGX PSW -FROM ghcr.io/initc3/linux-sgx:2.19-jammy as base +FROM ghcr.io/sigmagmbh/sgx:2.19-bionic as base RUN wget -qO - https://download.01.org/intel-sgx/sgx_repo/ubuntu/intel-sgx-deb.key | apt-key add - RUN apt-get update