[docker] Update SGX SDK/PSW/DCAP version
This commit is contained in:
parent
b38deb14ff
commit
bb50ab7652
@ -7,7 +7,7 @@ pub struct QuoteVerifier {
|
|||||||
|
|
||||||
// The latest QvE ISVSVN from Intel PCS.
|
// The latest QvE ISVSVN from Intel PCS.
|
||||||
// It should be updated when a newer QvE is released.
|
// It should be updated when a newer QvE is released.
|
||||||
const QVE_ISVSVN_THRESHOLD: sgx_isv_svn_t = 5;
|
const QVE_ISVSVN_THRESHOLD: sgx_isv_svn_t = 7;
|
||||||
|
|
||||||
impl QuoteVerifier {
|
impl QuoteVerifier {
|
||||||
pub fn new() -> Option<Self> {
|
pub fn new() -> Option<Self> {
|
||||||
|
@ -86,8 +86,8 @@ RUN curl https://sh.rustup.rs -sSf | \
|
|||||||
cargo -V
|
cargo -V
|
||||||
|
|
||||||
# Install SGX PSW
|
# Install SGX PSW
|
||||||
ARG PSW_VERSION=2.20.100.4
|
ARG PSW_VERSION=2.21.100.1
|
||||||
ARG DCAP_VERSION=1.17.100.4
|
ARG DCAP_VERSION=1.18.100.1
|
||||||
RUN apt-get update && aptitude install -y \
|
RUN apt-get update && aptitude install -y \
|
||||||
libsgx-launch-dev=$PSW_VERSION-focal1 \
|
libsgx-launch-dev=$PSW_VERSION-focal1 \
|
||||||
libsgx-epid-dev=$PSW_VERSION-focal1 \
|
libsgx-epid-dev=$PSW_VERSION-focal1 \
|
||||||
@ -125,7 +125,7 @@ RUN apt-get update && aptitude install -y \
|
|||||||
|
|
||||||
# Install SGX SDK
|
# Install SGX SDK
|
||||||
WORKDIR /tmp
|
WORKDIR /tmp
|
||||||
RUN git clone -b sgx_2.20_for_occlum https://github.com/occlum/linux-sgx && \
|
RUN git clone -b sgx_2.21_for_occlum https://github.com/occlum/linux-sgx && \
|
||||||
mkdir /etc/init && \
|
mkdir /etc/init && \
|
||||||
cd linux-sgx && \
|
cd linux-sgx && \
|
||||||
make preparation && \
|
make preparation && \
|
||||||
|
@ -86,8 +86,8 @@ RUN curl https://sh.rustup.rs -sSf | \
|
|||||||
cargo -V
|
cargo -V
|
||||||
|
|
||||||
# Install SGX PSW
|
# Install SGX PSW
|
||||||
ARG PSW_VERSION=2.20.100.4
|
ARG PSW_VERSION=2.21.100.1
|
||||||
ARG DCAP_VERSION=1.17.100.4
|
ARG DCAP_VERSION=1.18.100.1
|
||||||
RUN apt-get update && aptitude install -y \
|
RUN apt-get update && aptitude install -y \
|
||||||
libsgx-launch-dev=$PSW_VERSION-jammy1 \
|
libsgx-launch-dev=$PSW_VERSION-jammy1 \
|
||||||
libsgx-epid-dev=$PSW_VERSION-jammy1 \
|
libsgx-epid-dev=$PSW_VERSION-jammy1 \
|
||||||
@ -125,7 +125,7 @@ RUN apt-get update && aptitude install -y \
|
|||||||
|
|
||||||
# Install SGX SDK
|
# Install SGX SDK
|
||||||
WORKDIR /tmp
|
WORKDIR /tmp
|
||||||
RUN git clone -b sgx_2.20_for_occlum https://github.com/occlum/linux-sgx && \
|
RUN git clone -b sgx_2.21_for_occlum https://github.com/occlum/linux-sgx && \
|
||||||
mkdir /etc/init && \
|
mkdir /etc/init && \
|
||||||
cd linux-sgx && \
|
cd linux-sgx && \
|
||||||
make preparation && \
|
make preparation && \
|
||||||
|
Loading…
Reference in New Issue
Block a user