enclavectl build failure for hello demo
Closed this issue · 1 comments
forhead commented
when run build command
enclavectl build --image hello
I got below error
/bin/sh: line 1: amazon-linux-extras: command not found
I found the latest amazonlinux docker image removed the amazon-linux-extras, so need change
https://github.com/aws/aws-nitro-enclaves-with-k8s/blob/main/container/builder/Dockerfile.builder
to below
# Copyright 2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
FROM amazonlinux:2
RUN amazon-linux-extras install aws-nitro-enclaves-cli && \
yum install wget git aws-nitro-enclaves-cli-devel -y
WORKDIR /home
COPY builder/run.sh run.sh
CMD ["/home/run.sh"]