Skip to content

Commit

Permalink
fix ubuntu base build
Browse files Browse the repository at this point in the history
  • Loading branch information
RogerZhongAWS committed Dec 19, 2024
1 parent 11aef91 commit 27c1de6
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 15 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:18.04 AS base
FROM ubuntu:22.04 AS base

ENV DEBIAN_FRONTEND=noninteractive

Expand All @@ -17,6 +17,7 @@ RUN apt-get update -qq \
libc6-dbg \
softhsm \
zlib1g-dev \
libssl-dev \
&& apt-get clean

###############################################################################
Expand All @@ -35,9 +36,9 @@ RUN wget https://www.openssl.org/source/openssl-${OPENSSL_VERSION}.tar.gz \
# 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 -j 2 \
&& make install
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/e2e-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
context: .
target: deploy
build-args: |
OS=ubuntu:18.04
OS=ubuntu:22.04
BASE_IMAGE=public.ecr.aws/${{ env.ECR_BASE_REPO }}:x86_64-ubuntu-latest
push: false
- name: Get Version
Expand Down Expand Up @@ -87,7 +87,7 @@ jobs:
file: .github/docker-images/Dockerfile
context: .
build-args: |
OS=ubuntu:18.04
OS=ubuntu:22.04
BASE_IMAGE=public.ecr.aws/${{ env.ECR_BASE_REPO }}:x86_64-ubuntu-latest
push: true
tags: |
Expand Down Expand Up @@ -125,7 +125,7 @@ jobs:
file: .github/docker-images/Dockerfile
context: .
build-args: |
OS=ubuntu:18.04
OS=ubuntu:22.04
BASE_IMAGE=public.ecr.aws/${{ env.ECR_BASE_REPO }}:aarch64-ubuntu-latest
push: true
tags: |
Expand Down Expand Up @@ -165,7 +165,7 @@ jobs:
file: .github/docker-images/Dockerfile
context: .
build-args: |
OS=ubuntu:18.04
OS=ubuntu:22.04
BASE_IMAGE=public.ecr.aws/${{ env.ECR_BASE_REPO }}:armv7-ubuntu-latest
push: true
tags: |
Expand Down Expand Up @@ -355,7 +355,7 @@ jobs:
file: .github/docker-images/integration-tests/ubuntu/Dockerfile
context: .
build-args: |
OS=ubuntu:18.04
OS=ubuntu:22.04
PRE_RELEASE_IMAGE=public.ecr.aws/${{ env.ECR_PRE_RELEASE_REPO }}:x86_64-ubuntu-${{ needs.versioning.outputs.version }}
BASE_IMAGE=public.ecr.aws/${{ env.ECR_INTEG_BASE_REPO }}:x86_64-ubuntu-latest
push: true
Expand Down Expand Up @@ -401,7 +401,7 @@ jobs:
file: .github/docker-images/integration-tests/ubuntu/Dockerfile
context: .
build-args: |
OS=ubuntu:18.04
OS=ubuntu:22.04
PRE_RELEASE_IMAGE=public.ecr.aws/${{ env.ECR_PRE_RELEASE_REPO }}:aarch64-ubuntu-${{ needs.versioning.outputs.version }}
BASE_IMAGE=public.ecr.aws/${{ env.ECR_INTEG_BASE_REPO }}:aarch64-ubuntu-latest
push: true
Expand Down Expand Up @@ -444,7 +444,7 @@ jobs:
file: .github/docker-images/integration-tests/ubuntu/Dockerfile
context: .
build-args: |
OS=ubuntu:18.04
OS=ubuntu:22.04
PRE_RELEASE_IMAGE=public.ecr.aws/${{ env.ECR_PRE_RELEASE_REPO }}:armv7-ubuntu-${{ needs.versioning.outputs.version }}
BASE_IMAGE=public.ecr.aws/${{ env.ECR_BASE_REPO }}:armv7-ubuntu-latest
push: true
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
context: .
target: deploy
build-args: |
OS=ubuntu:18.04
OS=ubuntu:22.04
BASE_IMAGE=public.ecr.aws/${{ env.ECR_BASE_REPO }}:x86_64-ubuntu-latest
push: false
- name: Get Version
Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:
file: .github/docker-images/Dockerfile
context: .
build-args: |
OS=ubuntu:18.04
OS=ubuntu:22.04
BASE_IMAGE=public.ecr.aws/${{ env.ECR_BASE_REPO }}:x86_64-ubuntu-latest
push: true
tags: |
Expand Down Expand Up @@ -124,7 +124,7 @@ jobs:
file: .github/docker-images/Dockerfile
context: .
build-args: |
OS=ubuntu:18.04
OS=ubuntu:22.04
BASE_IMAGE=public.ecr.aws/${{ env.ECR_BASE_REPO }}:aarch64-ubuntu-latest
push: true
tags: |
Expand Down Expand Up @@ -165,7 +165,7 @@ jobs:
file: .github/docker-images/Dockerfile
context: .
build-args: |
OS=ubuntu:18.04
OS=ubuntu:22.04
BASE_IMAGE=public.ecr.aws/${{ env.ECR_BASE_REPO }}:armv7-ubuntu-latest
push: true
tags: |
Expand Down

0 comments on commit 27c1de6

Please sign in to comment.