Skip to content

Commit 32293af

Browse files
committed
e2e: sgx: fetch SGX DC attestation primitives as tar.gz
Hopefully fixes issues with random failures with e2e-sgx. Signed-off-by: Tuomas Katila <[email protected]>
1 parent 6fb95e6 commit 32293af

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

demo/sgx-sdk-demo/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,14 @@ RUN wget ${SGX_SDK_URL} \
4444
&& echo "yes" | ./$SGX_SDK_INSTALLER \
4545
&& rm $SGX_SDK_INSTALLER
4646

47-
RUN git clone -b $DCAP_VERSION https://github.com/intel/SGXDataCenterAttestationPrimitives.git
48-
4947
RUN cd sgxsdk/SampleCode/SampleEnclave \
5048
&& . /opt/intel/sgxsdk/environment \
5149
&& make \
5250
&& cd -
5351

52+
RUN wget https://github.com/intel/SGXDataCenterAttestationPrimitives/archive/refs/tags/$DCAP_VERSION.tar.gz && \
53+
tar xzf $DCAP_VERSION.tar.gz && mv SGXDataCenterAttestationPrimitives* SGXDataCenterAttestationPrimitives
54+
5455
RUN cd SGXDataCenterAttestationPrimitives/SampleCode/QuoteGenerationSample \
5556
&& . /opt/intel/sgxsdk/environment \
5657
&& make \

0 commit comments

Comments
 (0)