Skip to content

Commit

Permalink
Adding gramine-manifest-check before signing container
Browse files Browse the repository at this point in the history
  Adding gramine-manifest-check before signing container.

Signed-off-by: Davis Benny <[email protected]>
  • Loading branch information
DukeDavis12 committed Nov 5, 2024
1 parent e57a501 commit 89c3078
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions templates/Dockerfile.common.sign.template
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ COPY gsc-signer-key.pem /gramine/app_files/gsc-signer-key.pem

ARG passphrase

RUN {% block path %}{% endblock %} gramine-sgx-sign \
--key /gramine/app_files/gsc-signer-key.pem \
RUN {% block path %}{% endblock %} gramine-manifest-check /gramine/app_files/entrypoint.manifest

RUN {% block path %}{% endblock %} gramine-sgx-sign \ --key /gramine/app_files/gsc-signer-key.pem \
--manifest /gramine/app_files/entrypoint.manifest \
--output /gramine/app_files/entrypoint.manifest.sgx \
${passphrase:+--passphrase "$passphrase"}
Expand Down

0 comments on commit 89c3078

Please sign in to comment.