You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried every steps specified in the document. But when I run the docker build command, docker build --target kmstool-instance -t kmstool-instance .,
It gives an error,
=> CACHED [builder 39/48] RUN mv aws-nitro-enclaves-nsm-api/target/release/nsm.h /usr/include 0.0s
=> [builder 40/48] COPY . aws-nitro-enclaves-sdk-c 1.3s
=> ERROR [builder 41/48] RUN cmake3 -DCMAKE_PREFIX_PATH=/usr -DCMAKE_INSTALL_PREFIX=/usr -GNinja -S aws-nitro-enclaves-sdk-c -B aws-nitro-enclaves-sdk-c/ 0.2s
------
> [builder 41/48] RUN cmake3 -DCMAKE_PREFIX_PATH=/usr -DCMAKE_INSTALL_PREFIX=/usr -GNinja -S aws-nitro-enclaves-sdk-c -B aws-nitro-enclaves-sdk-c/build:
0.195 CMake Error: The source directory "/tmp/crt-builder/aws-nitro-enclaves-sdk-c" does not appear to contain CMakeLists.txt.
0.195 Specify --help for usage, or press the help button on the CMake GUI.
------
Dockerfile:71
--------------------
70 | COPY . aws-nitro-enclaves-sdk-c
71 | >>> RUN cmake3 -DCMAKE_PREFIX_PATH=/usr -DCMAKE_INSTALL_PREFIX=/usr -GNinja \
72 | >>> -S aws-nitro-enclaves-sdk-c -B aws-nitro-enclaves-sdk-c/build
73 | RUN cmake3 --build aws-nitro-enclaves-sdk-c/build --parallel $(nproc) --target install
--------------------
ERROR: failed to solve: process "/bin/sh -c cmake3 -DCMAKE_PREFIX_PATH=/usr -DCMAKE_INSTALL_PREFIX=/usr -GNinja \t-S aws-nitro-enclaves-sdk-c -B aws-nitro-enclaves-sdk-c/build" did not complete successfully: exit code: 1
Please give me a way to solve this!!!
The text was updated successfully, but these errors were encountered:
I am setting up a Security Enclaved instance in my machine. I created a Amazon Linux 2 AMI with c5.xlarge instance according to the document, officially provided. -> https://github.com/aws/aws-nitro-enclaves-sdk-c/blob/main/docs/kmstool.md
I tried every steps specified in the document. But when I run the docker build command,
docker build --target kmstool-instance -t kmstool-instance .
,It gives an error,
Please give me a way to solve this!!!
The text was updated successfully, but these errors were encountered: