Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
ARG AL_PROVIDED_VERSION=al2023.2024.08.09.13
ARG AL_PROVIDED_VERSION=al2023.2026.01.19.11
ARG ARCH=x86_64
FROM public.ecr.aws/lambda/provided:${AL_PROVIDED_VERSION}-${ARCH} as base

Check warning on line 3 in Dockerfile

View workflow job for this annotation

GitHub Actions / build-push-deploy

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/
RUN dnf -y update && \
dnf -y install shadow-utils && \
dnf clean all

FROM base as builder

Check warning on line 8 in Dockerfile

View workflow job for this annotation

GitHub Actions / build-push-deploy

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/
RUN dnf -y update && \
dnf -y install gcc openssl-devel bzip2-devel libffi-devel xz-devel zlib-devel tar xz && \
dnf clean all

ARG PYTHON_VERSION=3.12.5
ARG PYTHON_VERSION=3.14.2

RUN cd "$(mktemp -d)" && \
curl -O https://www.python.org/ftp/python/${PYTHON_VERSION}/Python-${PYTHON_VERSION}.tar.xz && \
Expand Down
4 changes: 2 additions & 2 deletions simple-example/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# based on this example
# https://github.com/aws/aws-lambda-python-runtime-interface-client/blob/970e9c1d2613e0ce9c388547c76ac30992ad0e96/README.md

FROM public.ecr.aws/docker/library/python:3.12.5-slim-bookworm as build-image
FROM public.ecr.aws/docker/library/python:3.14.2-slim-trixie as build-image

# Install aws-lambda-cpp build dependencies (for awslambdaric)
RUN apt-get update && \
Expand All @@ -26,7 +26,7 @@ RUN python3 -m pip install -U --no-cache-dir pip setuptools wheel && \
--target /src \
awslambdaric boto3

FROM public.ecr.aws/docker/library/python:3.12.5-slim-bookworm
FROM public.ecr.aws/docker/library/python:3.14.2-slim-trixie

WORKDIR /src

Expand Down