diff --git a/.github/docker-images/base-images/device-client/amazonlinux/Dockerfile b/.github/docker-images/base-images/device-client/amazonlinux/Dockerfile index 24a0a9b5..58deb833 100644 --- a/.github/docker-images/base-images/device-client/amazonlinux/Dockerfile +++ b/.github/docker-images/base-images/device-client/amazonlinux/Dockerfile @@ -1,4 +1,4 @@ -FROM amazonlinux:2.0.20230307.0 as base +FROM amazonlinux:2 as base ARG OPENSSL_VERSION=3.0.8 @@ -23,6 +23,10 @@ RUN yum -y update \ && yum clean all \ && rm -rf /var/cache/yum +WORKDIR /tmp +RUN wget https://registrationcenter-download.intel.com/akdlm/IRC_NAS/e7797b12-ce87-4df0-aa09-df4a272fc5d9/intel-vtune-2025.0.0.1130.sh \ + && sh ./intel-vtune-2025.0.0.1130.sh -a --silent --eula accept + ############################################################################### # Install OpenSSL 3.0.8 ############################################################################### diff --git a/.github/docker-images/base-images/device-client/ubi8/Dockerfile b/.github/docker-images/base-images/device-client/ubi8/Dockerfile index 3cbb3746..1c791125 100644 --- a/.github/docker-images/base-images/device-client/ubi8/Dockerfile +++ b/.github/docker-images/base-images/device-client/ubi8/Dockerfile @@ -8,7 +8,9 @@ ARG OPENSSL_VERSION=3.0.8 # Install prereqs ############################################################################### RUN yum -y update \ - && yum -y install \ + && yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm + +RUN yum -y install \ tar \ bzip2 \ git \ @@ -20,16 +22,22 @@ RUN yum -y update \ gcc-c++ \ perl-IPC-Cmd \ perl-Pod-Html \ + softhsm \ + openssl-devel \ && yum clean all \ && rm -rf /var/cache/yum +WORKDIR /tmp +RUN wget https://registrationcenter-download.intel.com/akdlm/IRC_NAS/e7797b12-ce87-4df0-aa09-df4a272fc5d9/intel-vtune-2025.0.0.1130.sh \ + && sh ./intel-vtune-2025.0.0.1130.sh -a --silent --eula accept + ############################################################################### # Install pre-built CMake ############################################################################### WORKDIR /tmp -RUN curl -sSL https://github.com/Kitware/CMake/releases/download/v3.10.0/cmake-3.10.0.tar.gz -o cmake-3.10.0.tar.gz \ - && tar -zxvf cmake-3.10.0.tar.gz \ - && cd cmake-3.10.0 \ +RUN curl -sSL https://github.com/Kitware/CMake/releases/download/v3.24.0/cmake-3.24.0.tar.gz -o cmake-3.24.0.tar.gz \ + && tar -zxvf cmake-3.24.0.tar.gz \ + && cd cmake-3.24.0 \ && ./bootstrap \ && make \ && make install @@ -45,18 +53,6 @@ RUN wget https://www.openssl.org/source/openssl-${OPENSSL_VERSION}.tar.gz \ && make \ && make install -############################################################################### -# Install softhsm v2.3.0 from source -############################################################################### - -WORKDIR /tmp -RUN wget https://dist.opendnssec.org/source/softhsm-2.3.0.tar.gz \ - && tar -xzf softhsm-2.3.0.tar.gz \ - && cd softhsm-2.3.0 \ - && ./configure --disable-gost \ - && make \ - && make install - ############################################################################### # Clone and build Google Test ############################################################################### diff --git a/.github/workflows/e2e-ci.yml b/.github/workflows/e2e-ci.yml index afd89554..245fb42d 100644 --- a/.github/workflows/e2e-ci.yml +++ b/.github/workflows/e2e-ci.yml @@ -203,7 +203,7 @@ jobs: file: .github/docker-images/Dockerfile context: . build-args: | - OS=amazonlinux:2022.0.20221207.4 + OS=amazonlinux:2 BASE_IMAGE=public.ecr.aws/${{ env.ECR_BASE_REPO }}:x86_64-amazonlinux-latest push: true tags: | @@ -241,7 +241,7 @@ jobs: file: .github/docker-images/Dockerfile context: . build-args: | - OS=amazonlinux:2022.0.20221207.4 + OS=amazonlinux:2 BASE_IMAGE=public.ecr.aws/${{ env.ECR_BASE_REPO }}:aarch64-amazonlinux-latest push: true tags: | diff --git a/.github/workflows/release-ci.yml b/.github/workflows/release-ci.yml index ccffbcf8..734bfeca 100644 --- a/.github/workflows/release-ci.yml +++ b/.github/workflows/release-ci.yml @@ -206,7 +206,7 @@ jobs: file: .github/docker-images/Dockerfile context: . build-args: | - OS=amazonlinux:latest + OS=amazonlinux:2 BASE_IMAGE=public.ecr.aws/${{ env.ECR_BASE_REPO }}:x86_64-amazonlinux-latest push: true tags: | @@ -247,7 +247,7 @@ jobs: file: .github/docker-images/Dockerfile context: . build-args: | - OS=amazonlinux:latest + OS=amazonlinux:2 BASE_IMAGE=public.ecr.aws/${{ env.ECR_BASE_REPO }}:aarch64-amazonlinux-latest push: true tags: |