File tree Expand file tree Collapse file tree 3 files changed +11
-4
lines changed
actions/build_eks_docker_image Expand file tree Collapse file tree 3 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -104,6 +104,7 @@ runs:
104104 cp -r ./scripts/aws/eks-pod/* ${{ inputs.artifacts_output_dir }}
105105 cp -r ./scripts/aws/syslog-ng/server_al_2023/* ${{ inputs.artifacts_output_dir }}/server_al_2023
106106 cp ./scripts/aws/eks-pod/server_al_2023/syslog-ng-server.conf ${{ inputs.artifacts_output_dir }}/syslog-ng-server.conf
107+ cp ./scripts/aws/pipeline/enclave-cli-1.5.3rc.zip ${{ inputs.artifacts_output_dir }}/enclave-cli-1.5.3rc.zip
107108 ls -l ${{ inputs.artifacts_output_dir }}
108109
109110 - name : Check disk usage
Original file line number Diff line number Diff line change 3838 steps :
3939 - name : Build Docker Image for EKS Pod
4040 id : build_docker_image_uid
41- uses : IABTechLab/uid2-operator/.github/actions/build_eks_docker_image@main
41+ uses : IABTechLab/uid2-operator/.github/actions/build_eks_docker_image@tjm-test-aws-custom-eif
4242 with :
4343 identity_scope : uid2
4444 artifacts_output_dir : ${{ env.ARTIFACTS_BASE_OUTPUT_DIR }}/uid2
6363 steps :
6464 - name : Build Docker Image for EKS Pod
6565 id : build_docker_image_euid
66- uses : IABTechLab/uid2-operator/.github/actions/build_eks_docker_image@main
66+ uses : IABTechLab/uid2-operator/.github/actions/build_eks_docker_image@tjm-test-aws-custom-eif
6767 with :
6868 identity_scope : euid
6969 artifacts_output_dir : ${{ env.ARTIFACTS_BASE_OUTPUT_DIR }}/euid
Original file line number Diff line number Diff line change 11FROM amazonlinux:2023
2- RUN dnf check-update && dnf update && dnf install nmap-ncat libxcrypt-compat python3 aws-nitro-enclaves-cli logrotate iproute net-tools python3.11 python3.11-pip shadow-utils -y
2+ RUN dnf check-update && dnf update && dnf install nmap-ncat libxcrypt-compat python3 logrotate iproute net-tools python3.11 python3.11-pip shadow-utils -y
33
44ARG IVYKIS_RPM="ivykis-0.43-1.amzn2023.x86_64.rpm"
55ARG LIBNET_RPM="libnet-1.2-2.amzn2023.0.2.x86_64.rpm"
66ARG PUBKEY="pubkey.gpg"
77ARG SYSLOG_NG_RPM="syslog-ng-4.7.1.104.gcc5a7d9-1.amzn2023.x86_64.rpm"
88ARG SYSLOG_NG_LOGROTATE_RPM="syslog-ng-logrotate-4.7.1.104.gcc5a7d9-1.amzn2023.x86_64.rpm"
99
10+ COPY ./enclave-cli-1.5.3rc.zip /home/enclave-cli-1.5.3rc.zip
1011COPY ./sockd /home/
1112COPY ./sockd_eks.conf /etc/sockd.conf
1213COPY ./vsockpx /home
@@ -31,7 +32,12 @@ COPY ./entrypoint.sh /home/
3132COPY ./uid2operator.eif /home/
3233COPY ./proxies.host.yaml /home/proxies.host.yaml
3334
34- RUN chmod +x /home/vsockpx && chmod +x /home/entrypoint.sh && chmod +x /home/sockd
35+ RUN chmod +x /home/vsockpx && chmod +x /home/entrypoint.sh && chmod +x /home/sockd && chmod +rwx /home/enclave-cli-1.5.3rc.zip
36+
37+ RUN unzip /enclave-cli-1.5.3rc.zip -d /home/tmp/
38+ RUN chmod a+rwx /home/tmp/enclave-cli-1.5.3rc/*
39+ RUN dnf install -y /home/tmp/enclave-cli-1.5.3rc/aws-nitro-enclaves-cli-1.3.5-0.amzn2023.x86_64.rpm
40+ RUN dnf install -y /home/tmp/enclave-cli-1.5.3rc/aws-nitro-enclaves-cli-devel-1.3.5-0.amzn2023.x86_64.rpm
3541
3642COPY ./app.py /home/config-server/
3743COPY ./requirements.txt /home/config-server/
You can’t perform that action at this time.
0 commit comments