Skip to content

Commit

Permalink
kbs: delete PCCS config part in Dockerfile
Browse files Browse the repository at this point in the history
Users would like to mount a sgx_qcnl_default.conf to container rather
than determine a static one at build time.

Signed-off-by: Xynnn007 <[email protected]>
  • Loading branch information
Xynnn007 committed Jun 14, 2024
1 parent fc71318 commit e533bfc
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions kbs/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -63,15 +63,4 @@ RUN apt-get update && \
# # Install Runtime Dependencies
# RUN

# Intel PCCS URL Configurations
# If you want the AS in KBS to connect to your customized PCCS for Intel TDX/SGX evidence verification,
# please modify this parameter.
# Default using localhost PCCS (Run in Host which the container land on).
ENV INTEL_PCCS_URL "https://localhost:8081/sgx/certification/v4/"
ENV INTEL_PCCS_USE_SECURE_CERT false

# Setup Intel PCCS URL
RUN if [ "${ARCH}" = "x86_64" ]; then sed -i "s|\"pccs_url\":.*$|\"pccs_url\":$INTEL_PCCS_URL,|" /etc/sgx_default_qcnl.conf; \
sed -i "s/\"use_secure_cert\":.*$/\"use_secure_cert\":$INTEL_PCCS_USE_SECURE_CERT,/" /etc/sgx_default_qcnl.conf; fi

COPY --from=builder /usr/local/cargo/bin/kbs /usr/local/bin/kbs

0 comments on commit e533bfc

Please sign in to comment.