Skip to content

Commit

Permalink
AA: add system attester to docker file
Browse files Browse the repository at this point in the history
Signed-off-by: Xynnn007 <[email protected]>
  • Loading branch information
Xynnn007 committed Dec 31, 2024
1 parent bd2174b commit 36db8e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile.aa
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ RUN curl https://download.01.org/intel-sgx/sgx-dcap/1.21/linux/distro/Anolis86/s
tar zxvf sgx_rpm_local_repo.tgz && \
yum -y install yum-utils && yum-config-manager --add-repo file:///tmp/sgx_rpm_local_repo && \
yum -y install epel-release && \
yum install -y --setopt=install_weak_deps=False --nogpgcheck libtdx-attest-devel perl wget curl clang openssl-devel protobuf-devel git && \
yum install -y --setopt=install_weak_deps=False --nogpgcheck libtdx-attest-devel perl wget curl clang openssl-devel protobuf-devel git libudev-devel && \
yum clean all && \
rm -rf /tmp/*

Expand All @@ -24,7 +24,7 @@ ENV PATH="/root/.cargo/bin:${PATH}"
RUN rustup toolchain install 1.79.0-x86_64-unknown-linux-gnu

# Build attestation-agent. Notice that libc version is not enough thus --release cannot pass
RUN cargo +1.79.0 build -p attestation-agent --bin ttrpc-aa --no-default-features --features bin,ttrpc,rust-crypto,coco_as,kbs,tdx-attester --target x86_64-unknown-linux-gnu
RUN cargo +1.79.0 build -p attestation-agent --bin ttrpc-aa --no-default-features --features bin,ttrpc,rust-crypto,coco_as,kbs,tdx-attester,system-attester --target x86_64-unknown-linux-gnu

RUN strip target/x86_64-unknown-linux-gnu/debug/ttrpc-aa

Expand Down

0 comments on commit 36db8e4

Please sign in to comment.