Closed aceeric closed 1 year ago
Indeed it is Alpine. What's initially confusing is the message indicates the inability to find a required shared library, as evidenced by the ldd
command. Possibly with the proper apk add
statements, Alpine could be made to work but I'm abandoning it in favor of another base image.
I'm experimenting with Enclaves. I have a Python HTTP server and I'm trying to modify it to exec kmstool_enclave_cli to perform attestation as a precursor to serving an API from an Enclave. I build the CLI per this guidance. Then I build my Python image with this Dockerfile:
I follow the steps to build an enclave etc. The Python HTTP server execs the CLI per the guidance with
subprocess.Popen
and fails:/kmstool_enclave_cli: not found
If I run the image directly outside of the Enclave I get the same thing:
Inside the container:
Almost certainly it has to do with the Alpine Python base image but - I'm so far stumped as to how to resolve. Any help is appreciated. Thanks.