diff --git a/README.md b/README.md index 65390db..ccf99ad 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ This project is licensed under the Apache-2.0 License. | aws-c-http | v0.6.19 | https://github.com/awslabs/aws-c-http | | aws-c-cal | v0.5.18 | https://github.com/awslabs/aws-c-cal | | aws-c-auth | v0.6.15 | https://github.com/awslabs/aws-c-auth | -| aws-nitro-enclaves-nsm-api | v0.2.1 | https://github.com/aws/aws-nitro-enclaves-nsm-api | +| aws-nitro-enclaves-nsm-api | v0.3.0 | https://github.com/aws/aws-nitro-enclaves-nsm-api | | json-c | json-c-0.16-20220414 | https://github.com/json-c/json-c | ## Building diff --git a/containers/Dockerfile.al2 b/containers/Dockerfile.al2 index e166022..14755ba 100644 --- a/containers/Dockerfile.al2 +++ b/containers/Dockerfile.al2 @@ -60,7 +60,7 @@ RUN git clone -b json-c-0.16-20220414 https://github.com/json-c/json-c.git RUN cmake3 -DCMAKE_PREFIX_PATH=/usr -DBUILD_TESTING=0 -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_SHARED_LIBS=OFF -GNinja -S json-c -B json-c/build RUN cmake3 --build json-c/build --parallel $(nproc) --target install -RUN git clone -b v0.2.1 https://github.com/aws/aws-nitro-enclaves-nsm-api.git +RUN git clone -b v0.3.0 https://github.com/aws/aws-nitro-enclaves-nsm-api.git RUN source $HOME/.cargo/env && cd aws-nitro-enclaves-nsm-api && cargo build --release --jobs $(nproc) -p nsm-lib RUN mv aws-nitro-enclaves-nsm-api/target/release/libnsm.so /usr/lib64 RUN mv aws-nitro-enclaves-nsm-api/target/release/nsm.h /usr/include