Skip to content

Commit

Permalink
added build images
Browse files Browse the repository at this point in the history
  • Loading branch information
keithrozario committed Dec 26, 2023
1 parent 853e0fb commit 38fe099
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/container_builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ jobs:
- python_version: p311
arch: arm64
build_platform: linux/arm64
- python_version: p312
arch: x86
build_platform: linux/amd64
- python_version: p312
arch: arm64
build_platform: linux/arm64


permissions:
Expand Down
9 changes: 9 additions & 0 deletions pipeline/container_images/build_images/p312_arm64/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
FROM public.ecr.aws/lambda/python:3.12-arm64

COPY build.py ./
RUN pip install --upgrade pip
RUN pip install boto3
RUN pip install aws-lambda-powertools
RUN yum install -y python-devel

CMD ["build.main"]
9 changes: 9 additions & 0 deletions pipeline/container_images/build_images/p312_x86/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
FROM public.ecr.aws/lambda/python:3.12

COPY build.py ./
RUN pip install --upgrade pip
RUN pip install boto3
RUN pip install aws-lambda-powertools
RUN yum install -y python-devel

CMD ["build.main"]

0 comments on commit 38fe099

Please sign in to comment.