Skip to content

Commit c31f604

Browse files
committed
Adding nitro-cli polygonID docker image and using it from enclave
1 parent 52efb32 commit c31f604

2 files changed

Lines changed: 22 additions & 1 deletion

File tree

build/nitro-cli/Dockerfile

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
FROM amazonlinux:2023
2+
3+
RUN dnf update -y
4+
# Install nitro-cli dependencies
5+
RUN dnf install -y \
6+
aws-nitro-enclaves-cli \
7+
aws-nitro-enclaves-cli-devel \
8+
tar \
9+
unzip \
10+
curl-minimal \
11+
jq \
12+
shadow-utils \
13+
&& dnf clean all
14+
15+
# Add enclaver system user
16+
RUN useradd -m enclaver
17+
18+
WORKDIR /build
19+
20+
ENTRYPOINT ["nitro-cli"]
21+

enclaver/src/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ use uuid::Uuid;
1919
const ENCLAVE_OVERLAY_CHOWN: &str = "0:0";
2020
const RELEASE_OVERLAY_CHOWN: &str = "0:0";
2121

22-
const NITRO_CLI_IMAGE: &str = "registry.edgebit.io/nitro-cli:latest";
22+
const NITRO_CLI_IMAGE: &str = "privadoid/aws-nitro-cli:1.4.2";
2323
const ODYN_IMAGE: &str = "registry.edgebit.io/odyn:latest";
2424
const ODYN_IMAGE_BINARY_PATH: &str = "/usr/local/bin/odyn";
2525
const RELEASE_BASE_IMAGE: &str = "registry.edgebit.io/enclaver-wrapper-base:latest";

0 commit comments

Comments
 (0)